mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 22:02:41 +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.
Run tests
Tests of the Run entrypoint are in separate files because Run needs to be in
Main//default, and there can only be one such library per compile.