mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 22:02:37 +01:00
Locations are similarly fragile, because adding a comment changes them. This has made me pause when making prelude changes in #6144, so dropping them for those cases. Instruction ids aren't actually that interesting outside debugging, and can be churny when doing other structural changes. I've seen this in particular when doing singleton changes, which bump every instruction id. Note there are still other ways fragility from locations can crop up. This shouldn't be considered a complete fix, but hopefully a small improvement.