-
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.gopanic" && "satisfy.(*Finder).expr:+65"
Issue created by stacks.
This crash indicates that satisfy was called on ill-typed code. Perhaps the best fix is to wait until #70638 is available and then change rename to avoid using the satisfy package entirely, as the type-checker will record this information as it goes.
This stack k3L0Og was reported by telemetry:
crash/crashruntime.gopanic:+69golang.org/x/tools/refactor/satisfy.(*Finder).expr:+65golang.org/x/tools/refactor/satisfy.(*Finder).call:+26golang.org/x/tools/refactor/satisfy.(*Finder).expr:+138golang.org/x/tools/refactor/satisfy.(*Finder).stmt:+40golang.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.renameExported:+56golang.org/x/tools/gopls/internal/golang.renameOrdinary:+157golang.org/x/tools/gopls/internal/golang.Rename:+24golang.org/x/tools/gopls/internal/server.(*server).Rename:+17golang.org/x/tools/gopls/internal/protocol.serverDispatch:+489
golang.org/x/tools/gopls@v0.17.1 go1.23.4 darwin/arm64 vscode (1)
Dups: FSWExA NOmQEw
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