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
Karitham
changed the title
go/compile:
go/compile: internal compiler error on illegal assignement
Feb 17, 2022
seankhliao
changed the title
go/compile: internal compiler error on illegal assignement
cmd/compile: internal compiler error on illegal assignement
Feb 17, 2022
CC @mdempsky, @randall77. |
dmitshur
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Feb 17, 2022
/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: |
dmitshur
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Feb 24, 2022
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: