-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.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
"runtime.sigpanic" && "satisfy.(*Finder).expr:+75"
Issue created by stacks.
case *ast.SelectorExpr:
if _, ok := f.info.Selections[e]; ok {
f.expr(e.X) // selection
} else {
return f.info.Uses[e.Sel].Type() // qualified identifier <----------- panic
}This is related to #71572 and #73109: satisfy was called on ill-typed code; and the resolution is the same: wait for #70638.
This stack kscqug was reported by telemetry:
crash/crashruntime.gopanic:+69runtime.panicmem:=262runtime.sigpanic:+19golang.org/x/tools/refactor/satisfy.(*Finder).expr:+75golang.org/x/tools/refactor/satisfy.(*Finder).stmt:+53golang.org/x/tools/refactor/satisfy.(*Finder).stmt:+90golang.org/x/tools/refactor/satisfy.(*Finder).expr:+30golang.org/x/tools/refactor/satisfy.(*Finder).call:+26golang.org/x/tools/refactor/satisfy.(*Finder).expr:+138golang.org/x/tools/refactor/satisfy.(*Finder).stmt:+19golang.org/x/tools/refactor/satisfy.(*Finder).stmt:+90golang.org/x/tools/refactor/satisfy.(*Finder).Find:+19golang.org/x/tools/gopls/internal/golang.(*renamer).satisfy:+27golang.org/x/tools/gopls/internal/golang.(*renamer).checkMethod:+178golang.org/x/tools/gopls/internal/golang.(*renamer).check:+16golang.org/x/tools/gopls/internal/golang.renameObjects:+24golang.org/x/tools/gopls/internal/golang.renameOrdinary:+99
golang.org/x/tools/gopls@v0.17.1 go1.23.2 darwin/arm64 vscode (1)
Dups: bgW9pQ aibuLA aJ9H_w x0Q4yQ 7x8J4g 9tBQQA EqiNlQ ae1P8Q jxCFrw lpgZrA P3nHGA CjT0cQ EHoAAA c7_ouw fV5TIg XPbWtg tITmvA HkEiLQ nBrZxA aqF--Q yO8Zsg -Zk8HQ dkenNg
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.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