Skip to content

x/tools/gopls: ApplyFix: createUndeclared calls ZeroExpr(types.Tuple), crashes #74814

@adonovan

Description

@adonovan
#!stacks
"gopanic" && "ZeroExpr" && "createUndeclared" && "ApplyFix"

Issue created by stacks.

Not sure how TypesFromContext can return a Tuple type, but that function could use a clearer theory, better documentation, and comprehensive tests.

This stack Ja7blg was reported by telemetry:

golang.org/x/tools/[email protected] go1.24.3 linux/amd64 other,vscode (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues 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.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