carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
http://docs.carbon-lang.dev/
Other
32.24k stars 1.48k forks source link

Remove overeager CHECK. #4159

Closed zygoloid closed 2 months ago

zygoloid commented 2 months ago

When evaluating within the context of a specific, we can encounter uses of bindings that are nested within that specific, for example parts of the declaration of a nested generic. Those bindings should evaluate to the canonical form of themselves, as they would when evaluating outside the context of the specific.

Fixes #4157.