-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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 on illegal assignement #51236
Labels
Milestone
Comments
CC @mdempsky, @randall77. |
/cc @danscales Seems related to early/late transform splits. |
Simplified test case:
|
I have the rough fix for this one. |
Change https://go.dev/cl/386220 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
What version of Go are you using (
go version
)?devel (right now, go version devel go1.18-2c4c1ad Wed Feb 16 20:29:09 2022 -0800 linux/amd64)
Does this issue reproduce with the latest release?
yes
What did you do?
Improved example code by @madxmike
https://go.dev/play/p/bziYa_LWmkO?v=gotip
What did you expect to see?
Illegal assignment error
What did you see instead?
Compiler error
The text was updated successfully, but these errors were encountered: