Skip to content

x/tools/gopls: objectpath: panic due to nil *types.Signature #75575

@adonovan

Description

@adonovan
#!stacks
"sigpanic" && "(*Signature).RecvTypeParams" && "objectpath.(*finder).find:+22"

Issue created by stacks.

Possible type checker bug: the parameter of an interface method is a alias to a nil signature. Invalid code that uses interface methods and aliases have been a fertile source of bugs due to cycles and ordering subtleties. Also possibly memory corruption.

This stack olW9_w was reported by telemetry:

golang.org/x/tools/[email protected] go1.24.5 darwin/arm64 neovim (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone 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.goplsIssues related to the Go language server, gopls.gopls/telemetry-wins

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions