Skip to content

Conversation

@matklad
Copy link
Contributor

@matklad matklad commented Oct 30, 2020

bors r+
🤖

Historically, we intentinally violated JSON-RPC spec here by hard
crashing. The idea was to poke both the clients and servers to fix
stuff.

However, this is confusing for server implementors, and falls down in
one important place -- protocol extension are not always backwards
compatible, which causes crashes simply due to version mismatch. We
had once such case with our own extension, and one for semantic
tokens.

So let's be less adventerous and just err on the err side!
@bors
Copy link
Contributor

bors bot commented Oct 30, 2020

@bors bors bot merged commit dd84b7a into rust-lang:master Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants