Files
carbon-lang/toolchain
Dana Jansens 92e635c2f0 Use the constant value unconditionally in deduce diagnostic (#5034)
When finding the binding entity name, always go through the binding
instruction's constant value to get a canonical instruction which will
always have an entity name attached to it.

Currently the only instructions in this position without an entity name
are ImportRefLoaded. But other indirect instructions may exist in the
future, which evaluate to an AnyBindName but are not themselves one. So
this makes the code more robust to change in the future.
2025-02-27 17:06:02 +00:00
..