-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: "type checker error %q outside its Fset" bug reported by telemetry #66766
Comments
This stack
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks. |
Found this in passing while looking at the debug server: gopls/internal/cache/check.go:1890: internal error: type checker error "-: cannot use _ as value or type" outside its Fset
Will try to repro. |
No luck so far. The crash indicates a referring |
This stack
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks. |
This stack
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks. |
Change https://go.dev/cl/621876 mentions this issue: |
Refine a few bug reports related to incorrectly positioned type checker errors, by differentiating the 'fixed file' case from the case with no fixed files. Since we haven't made progress on these bugs, we need more information to guide our debugging. If the bugs only occur in the presence of AST fixes, we can probably downgrade them to not be a bug: if we're fixing the AST, we won't display type checker errors anyway. Nevertheless, leave the bug reports for now, so that we can collect data. For golang/go#65960 For golang/go#66765 For golang/go#66766 Change-Id: I2060c897d249cdd5cc3e7bb183d3f563987bec57 Reviewed-on: https://go-review.googlesource.com/c/tools/+/621876 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Robert Findley <rfindley@google.com>
This stack
_5BDSg
was reported by telemetry:Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Dups: T_TswA ypJFHg
Closely related to:
Dups: RQEPow rXJHRw 1XBmcQ
The text was updated successfully, but these errors were encountered: