usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
10 stars 7 forks source link

Propogate crash of typechecker as annotation on first line of the module #406

Closed DavyLandman closed 1 month ago

DavyLandman commented 1 month ago

Is your feature request related to a problem? Please describe. Right now, when the typechecker crashes, the user gets no warning or message, they have to look in output window to figure out what is up.

Describe the solution you'd like If the typechecker crashed, add an error to the module on which the typechecker was called on.

Describe alternatives you've considered keep it as in, this would however make it harder for users to debug why their code is not showing errors.