Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: returns with non-0 exit code on server restart / shutdown #40832
What version of Go are you using (
Yes. I can consistently reproduce it.
Note that I'm not a VSCode user. I'm using Sublime Text where non-zero exit code returned from the server triggers a "crash dialog" so that's why I've noticed it.
But as I've said, I've also reproduced this with VSCode (at least the same stderr message as I can't see the exit code in vscode).