Closed ConnorPickles closed 3 years ago
I've tried to fork the repository and change go.mod to point at the fork until this is fixed but somehow even with go.mod changed, it's still looking for go.lsp.dev/protocol. Anyone with more go experience have any advice?
@zchee Is this something you have time to quickly fix?
@ConnorPickles @slzatz Sorry for the late reply.
I develop into https://github.com/go-language-server/protocol/pull/21, which supported jsonrpc2 v0.9.0.
I’d testing that PR’s branch internally. It seems no issue to following vscode-languageserver-node upstream change. Will merge above PR and cut new version later. Sorry for confused you.
Glad to know a fix is coming, saves me from having to fork and host it myself! Thanks for the update.
@slzatz @ConnorPickles merged
At handler_json.go:47,
id
is cast usingint64(id)
instead ofint32(id)
, causing an error since jsonrpc2 is expectingint32
at wire.go:60.Not sure which package is correct. Happy to create a PR to fix this, but didn't want to be presumptuous.