mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 17:36:38 +00:00
Check that functions in an `impl` are declared properly. For now, simply reuse the redeclaration checking logic. Longer-term, we need to check that the signatures match in a more approximate way, after substituting the `Self` type into the signature in the `interface`. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.