x/tools/cmd/gopls: nil pointer dereference when creating new file #34366
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Discovered by
govim
cron tests againstgopls
andx/tools
master
.Creating a new file in a package appears to result in one of two panics due to nil pointer dereferences:
Stack trace 1
Stack trace 2
What did you expect to see?
No panic.
What did you see instead?
Per above.
cc @stamblerre @ianthehat @muirrn
The text was updated successfully, but these errors were encountered: