Files
carbon-lang/proposals
Özgür T. Önsoy b9692a0e77 Restrict observe declarations to names that are part of the enclosing interface (#7545)
This proposal restricts `observe` declarations in an `interface` to only
reference names dependent on `.Self`, generic parameters, and associated
constants that are part of the enclosing `interface`, with the following
exceptions:

-   Allow at most one unrelated value in an equivalence (`==`) chain.
- Allow unrelated values that satisfy the `impls` constraint immediately
in an
    `observe .. == .. impls`.
2026-08-05 21:23:21 +00:00
..

Proposals

Proposal lists

Directory structure

This directory contains accepted proposals for the carbon-lang repository. For information about declined/deferred proposals, please view the proposal's original pull request.

For accepted proposals, where ###### is the corresponding proposal's pull request number (padded to 6 digits):

  • p######-slug.md will contain the main proposal text, where slug is a robust slugification of the title of the proposal.
  • p######-slug may be present as an optional subdirectory for related files (for example, images).