Closed adonovan closed 15 hours ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Change https://go.dev/cl/630675 mentions this issue: gopls/internal/crash: don't crash in xrefs on out of bound nodes
Issue created by stacks.
This stack
LDqHyA
was reported by telemetry:crash/crash
runtime.gopanic:+69
golang.org/x/tools/gopls/internal/cache/xrefs.Index.func2:+3
golang.org/x/tools/gopls/internal/cache/xrefs.Index.func3:+32
go/ast.inspector.Visit:+1
go/ast.Walk:+1
go/ast.Walk:+58
go/ast.Walk:+87
go/ast.Walk:+57
go/ast.Walk:+87
go/ast.walkList[...]:=21
go/ast.Walk:+161
go/ast.walkList[...]:=21
go/ast.Walk:+178
go/ast.Walk:+299
go/ast.walkList[...]:=21
go/ast.Walk:+308
go/ast.Inspect:=372
golang.org/x/tools/gopls/internal/cache/xrefs.Index:+30
golang.org/x/tools/gopls/internal/cache.(*syntaxPackage).xrefs.func1:+1
sync.(*Once).doSlow:+5