jeapostrophe / racket-langserver

Other
262 stars 24 forks source link

Use end-of-file as fallback position for exceptions #104

Closed jryans closed 1 year ago

jryans commented 1 year ago

Some reader exceptions do not have position information. This uses end-of-file as a reasonable guess, so we can at least highlight some part of the file. Handing this case resolves a langserver contract error.

Fixes https://github.com/jeapostrophe/racket-langserver/issues/102