mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 14:08:14 +00:00
Trying to improve diagnostic names and code flow. I was thinking "operand" might be a better name than "name" in the context of what `a` is in `a[b]`, where we already call `b` the `index`. Flow-wise, note this replaces pushing BuiltinError with instead creating Index nodes that may contain an error. This is intended to aim towards producing a more consistent SemIR in the face of errors. There are pros and cons of both approaches, but I'm aiming for simpler control flow.