mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 22:02:51 +01:00
This gives a slightly simpler representation for `UnboundElementType`s in eval blocks, and in principle allows us to preserve the spelling of a field's type into the `UnboundElementType` and thereby into a field reference, although as of right now this doesn't affect our diagnostic output in any way. During error recovery for a field with a non-concrete type, preserve the type in the `UnboundElementType` regardless. It's not really problematic to have a non-concrete type there, and this makes it easier to track the instruction used to specify the type. This is a step towards switching symbolic types to always be abstract during type checking.