compiler: fix crash if file contents change during update

When reporting a compile error, we would load the new file, but assume
we could apply old AST/token indices (etc) to it, potentially causing
crashes. Instead, if the file stat has changed since it was loaded, just
emit an error that the file was modified mid-update.
806470b492Matthew Lugg committed on 11/19/2025, 9:44:22 AMparent4ea4728
2 files changedLine totals unavailable