Diagnostics at the compiler's ranges, and a link to one in another file

- A diagnostic is marked from where the compiler's range of it starts to
  where it ends (Diagnostics.rangeOf, in the compiler). A quoted list, an
  array literal and an interpolated string were marked as one character.
  A location with no range behind it is read from the message, as before.
- A diagnostic in an included or an imported file has its place there as
  related information.
- The README and the smoke test name bin/Release/net11.0, where the build
  is since the compiler's target changed.
- smoke: the prelude's definitions are in prelude/core.bjo.

Needs the compiler at its commit "Diagnostics.rangeOf".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Linus Björnstam 2026-11-25 07:30:13 +01:00
parent ceb6f1b93a
commit d421ec9363
4 changed files with 175 additions and 32 deletions

View file

@ -66,7 +66,8 @@ let private publish (uri: string) =
EndLine = 1
EndColumn = 0
IsError = false
Message = message } ]
Message = message
Elsewhere = None } ]
| None -> []
let found =