Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes, proper Typed Racket support #38

Merged
merged 8 commits into from
Apr 3, 2021

Conversation

Runi-c
Copy link
Contributor

@Runi-c Runi-c commented Apr 3, 2021

Fixes #30, Fixes #28, Fixes #12

I don't really know if there's a more "correct" way to catch the typed racket errors, but they weren't being caught by all the existing handlers and all I came up with by spelunking drracket and typed-racket repositories was to intercept logs and nab them that way.

image

Handling the #lang lines a little nicer has lovely side effects, such as properly reporting when a module is missing instead of the langserver just going into an unusable state.

image

@Runi-c
Copy link
Contributor Author

Runi-c commented Apr 3, 2021

I just realized I do know how to get the errors to span the correct text instead of just being on the left parens, but I'm out of time for today. I'll add it in tomorrow and then this will be ready for merge.

@jeapostrophe
Copy link
Owner

This looks like great progress

@Runi-c
Copy link
Contributor Author

Runi-c commented Apr 3, 2021

Ok, this is good to go now.

image

@jeapostrophe jeapostrophe merged commit a2a25cd into jeapostrophe:master Apr 3, 2021
@jeapostrophe
Copy link
Owner

Awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants