x/tools/gopls: crash on open empty file in vscode with .go extension. #34597
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Patch for #34433 ( https://go-review.googlesource.com/c/tools/+/196662/ ) has been applied.
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Open an empty file in vscode with a .go file extension.
Normal workflow in vscode, is press the New File button, and give it a name, vscode automatically opens and if the name ends in .go, gopls crashes.
What did you expect to see?
No crashes.
What did you see instead?
The gopls server crashed 5 times in the last 3 minutes. The server will not be restarted.
Log output
The text was updated successfully, but these errors were encountered: