-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
serve-d is too strict in LSP enforcement (crashes) #369
Comments
To be clear, I'm suggesting treating any message that contains an error value with "null" as if the error is not present at all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(The other side of this was reported at zed-industries/zed#11060 )
Serve-d crashes when it gets:
Essentially according to Postel's Law, we should be a bit more tolerant of reasonable errors.
Clearly the above message can reasonably be interpreted as intended to be:
(Having a
null
value for "error" is nonsense per the spec, but having anull
value is perfectly reasonable as a result from function that has nothing else to return back.)The text was updated successfully, but these errors were encountered: