-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
cmd/compile: internal compiler error: unexpected type: <nil> (<nil>) in for-range #67027
Comments
This code should not make it through the type checker. |
Change https://go.dev/cl/580937 mentions this issue: |
In triage, ping @findleyr for review. |
Change https://go.dev/cl/590056 mentions this issue: |
@gopherbot please consider this for backport to 1.22. |
Backport issue(s) opened: #67798 (for 1.22). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Reproducer (1.22 and at tip, playground):
Running the code leads to:
The text was updated successfully, but these errors were encountered: