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

shutdown result is non-null #1733

Open
mattmassicotte opened this issue Oct 1, 2024 · 1 comment
Open

shutdown result is non-null #1733

mattmassicotte opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mattmassicotte
Copy link

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 be 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.

Steps to Reproduce

send a shutdown request

Logging

No response

@ahoppen
Copy link
Member

ahoppen commented Oct 14, 2024

Synced to Apple’s issue tracker as rdar://137886488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants