-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: panic in internal/golang.activeParameter #69552
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
Thanks for the report. This looks like a recent regression caused by https://go.dev/cl/605983, which changed callExpr to become potentially nil. |
Change https://go.dev/cl/616216 mentions this issue: |
Thanks for the fix! Checking: is this something that telemetry should have caught and logged locally? I have similar stacks in my local data from the 2023-11-03 timeframe but not since then. |
@danp yes this should have been caught by telemetry, though it wouldn't have been uploaded due to the development version. I'll write a test to ensure we're capturing local crashes. There may be some nondeterminism (races at process exit) that we need to sort out. |
Using gopls golang/tools@e603756:
Think I was in the middle of changing something like
x.y(len(z), nil)
tox.y(int64(len(z)), nil)
.(I don't see this in local telemetry data so filing this issue)
The text was updated successfully, but these errors were encountered: