-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: "could not compute pos to range for %v: %v" bug (reported by telemetry) #65960
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
Comments
Change https://go.dev/cl/567416 mentions this issue: |
Updates golang/go#65960 Change-Id: I01a416a0cf9cf8e13195c0d9405008ded1a9c53a Reviewed-on: https://go-review.googlesource.com/c/tools/+/567416 Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
This stack
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks. |
A new variant: // debugging #65960
if _, err := safetoken.Offset(pgf.Tok, end); err != nil {
bug.Reportf("ReadGo116ErrorData returned invalid end: %v", err)
} |
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 <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]>
This stack
|
This stack
q8FyvQ
was reported by telemetry:Note variants:
bug.Reportf("TypeErrorEndPos returned invalid end: %v", err)
bug.Reportf("ReadGo116ErrorData returned invalid end: %v", err)
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Dups: rnoW6w 7zL2qQ pT-4Ug PDXPlA RejVIw CBGyxQ AG72cA Lf-3ww TXfuyw
The text was updated successfully, but these errors were encountered: