x/tools/gopls: Completion: "ZeroString for unexpected type" panic #70744
Labels
gopls/telemetry-wins
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
Issue created by stacks.
Looks like an untyped or invalid BasicType:
This stack
A4anUg
was reported by telemetry:crash/crash
runtime.gopanic:+69
golang.org/x/tools/internal/typesinternal.ZeroString:+15
golang.org/x/tools/gopls/internal/golang/completion.(*completer).addReturnZeroValues:+35
golang.org/x/tools/gopls/internal/golang/completion.(*completer).addStatementCandidates:+3
golang.org/x/tools/gopls/internal/golang/completion.Completion:+186
golang.org/x/tools/gopls/internal/server.(*server).Completion:+19
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+193
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3
runtime.goexit:+0
The text was updated successfully, but these errors were encountered: