mlugg 50960fac80 compiler: be more cautious about source locations
Two fixes here.

* Prevent a crash when sorting the list of analysis errors when some
  errors refer to lost source locations. These errors can be sorted
  anywhere in the list, because they are (in theory) guaranteed to never
  be emitted by the `resolveReferences` logic. This case occurs, for
  instance, when a declaration has compile errors in the initial update
  and is deleted in the second update.

* Prevent a crash when resolving the source location for `entire_file`
  errors for a non-existent file. This is the bug underlying #20954.

Resolves: #20954.
2024-08-17 18:50:10 -04:00
..
2024-08-17 18:50:10 -04:00
2024-07-31 16:57:42 -07:00
2024-07-20 20:23:18 +03:00
2024-08-17 18:50:10 -04:00
2024-07-22 05:50:48 -07:00
2024-08-17 18:50:10 -04:00
2024-04-09 15:00:21 +02:00
2024-08-17 18:50:10 -04:00