-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/telemetry-wins
Milestone
Description
#!stacks
"gopanic" && "types.ConvertibleTo" && "completion.considerTypeConversion"
Issue created by stacks.
This stack 3WhcMA was reported by telemetry:
crash/crashruntime.gopanic:+69,+0x167runtime.panicmem:=262,+0x358runtime.sigpanic:+19,+0x328go/types.under:+4,+0x35go/types.isBytesOrRunes:+2,+0x3bgo/types.(*operand).convertibleTo:+47,+0x3bcgo/types.ConvertibleTo:=46,+0x1eagolang.org/x/tools/gopls/internal/golang/completion.convertibleTo:+6,+0x1ebgolang.org/x/tools/gopls/internal/golang/completion.considerTypeConversion:+12,+0x7cgolang.org/x/tools/gopls/internal/golang/completion.(*candidateInference).candTypeMatches.func1:+27,+0x231golang.org/x/tools/gopls/internal/golang/completion.(*candidate).anyCandType.func1:+1,+0x5egolang.org/x/tools/gopls/internal/golang/completion.(*candidate).anyCandType:+28,+0xd9golang.org/x/tools/gopls/internal/golang/completion.(*candidateInference).candTypeMatches:+14,+0x13bgolang.org/x/tools/gopls/internal/golang/completion.(*completer).matchingCandidate:+17,+0xc4golang.org/x/tools/gopls/internal/golang/completion.(*completer).addCandidate:+2,+0x5bgolang.org/x/tools/gopls/internal/golang/completion.(*completer).deepSearch:+71,+0x4degolang.org/x/tools/gopls/internal/golang/completion.Completion:+165,+0x13a5golang.org/x/tools/gopls/internal/server.(*server).Completion:+19,+0x357
golang.org/x/tools/gopls@v0.19.1 go1.24.4 linux/amd64 vscode (1)
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/telemetry-wins