We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
shutdown
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-09-17-a
macOS 14.5
https://github.com/ChimeHQ/LanguageClient
In response to a shutdown request, the server responds with:
{"jsonrpc":"2.0","id":2,"result":{}}
That result of {} doesn't match the specification, which indices that the result should be null.
{}
null
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#shutdown
This really isn't that big a deal, but we found it, and figured it was worth reporting.
send a shutdown request
No response
The text was updated successfully, but these errors were encountered:
Synced to Apple’s issue tracker as rdar://137886488
Sorry, something went wrong.
Reply with null to shutdown request
e073a01
The LSP spec says the result of `shutdown` is `null`, not an empty object. Fixes swiftlang#1733 rdar://137886488
Successfully merging a pull request may close this issue.
Swift version
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-09-17-a
Platform
macOS 14.5
Editor
https://github.com/ChimeHQ/LanguageClient
Description
In response to a shutdown request, the server responds with:
{"jsonrpc":"2.0","id":2,"result":{}}
That result of
{}
doesn't match the specification, which indices that the result should benull
.https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#shutdown
This really isn't that big a deal, but we found it, and figured it was worth reporting.
Steps to Reproduce
send a shutdown request
Logging
No response
The text was updated successfully, but these errors were encountered: