Closed
Description
#!stacks
/* see also #65960 and #66765, which together cover bugs in the same function. */
"bug.Reportf" &&
("typeErrorsToDiagnostics.func1:+28" ||
"typeErrorsToDiagnostics.func1:+34" ||
"typeErrorsToDiagnostics.func1:+35" ||
"typeErrorsToDiagnostics.func1:+37")
This stack _5BDSg
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+28
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+119
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+127
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+70
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackageInternal.func2:+1
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/[email protected] go1.21.5 darwin/amd64 vscode (1)
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Closely related to:
- x/tools/gopls: "could not compute pos to range for %v: %v" bug (reported by telemetry) #65960
- x/tools/gopls: "could not locate file for primary type checker error" bug reported by telemetry #66765
Dups: T_TswA ypJFHg RQEPow rXJHRw 1XBmcQ igKjlQ