-
Notifications
You must be signed in to change notification settings - Fork 57
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
Rescript language server crashes #77
Comments
Yeah! This happens for me too from last week. |
Can you both show me what your |
|
@shrihari689 would you mind creating a new issue? And have a minimal repro including the project files or such. Your case is a bit harder to debug |
|
@mbergal thanks; that |
Here's the fragment
I think the warning is related to |
Ok, so this is caused the ppx violating the assumption that we always display the location. I was a bit lenient in the error display in case there’s no location, but was stricter in the editor plugin's parsing of the display. Guess I’ll have to be lenient in the latter as well... in case there are other bad ppxes. It sucks but we'll have to silence the errors by being lenient. If I have time, I can also check into decco to see where this comes from maybe... |
It's also unclear that a warning should be given, unless you expect that both serializers and deserializers are always used. |
The text was updated successfully, but these errors were encountered: