mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 18:31:08 +01: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.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.