Skip to content

x/tools/gopls: (recovered) panic in canRemoveParameter #63755

@findleyr

Description

@findleyr
#!stacks
"bug.Errorf" && "go/ast.Walk" && "go/ast.Inspect" && "lsp.canRemoveParameter:22"

Found via telemetry: https://storage.googleapis.com/prod-telemetry-merged/2023-10-25.json

There's a panic in lsp.canRemoveParameter: inspecting nil function bodies (as is the case for external functions) leads to a panic.

Fix incoming.

Dups: vf_9ow, 9eOAKA PymcbA BTt5nw 3W4qPQ

Metadata

Metadata

Assignees

Labels

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

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions