Files
zig/src
mlugg ded5c759f8 Zcu: store LazySrcLoc in error messages
This change modifies `Zcu.ErrorMsg` to store a `Zcu.LazySrcLoc` rather
than a `Zcu.SrcLoc`. Everything else is dominoes.

The reason for this change is incremental compilation. If a failed
`AnalUnit` is up-to-date on an update, we want to re-use the old error
messages. However, the file containing the error location may have been
modified, and `SrcLoc` cannot survive such a modification. `LazySrcLoc`
is designed to be correct across incremental updates. Therefore, we
defer source location resolution until `Compilation` gathers the compile
errors into the `ErrorBundle`.
2024-07-04 21:01:41 +01:00
..
2024-06-22 22:59:56 -04:00
2024-06-22 22:59:56 -04:00
2024-06-22 22:59:56 -04:00
2024-06-04 16:54:14 -07:00
2024-04-09 15:00:21 +02:00
2024-06-22 22:59:56 -04:00
2024-05-08 19:37:28 -07:00