Skip to content
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: ICE on embedded method expression with receiver parameter of derived type #54058

mdempsky opened this issue Jul 25, 2022 · 0 comments
compiler/runtime NeedsFix


Copy link

@mdempsky mdempsky commented Jul 25, 2022

This program is valid, but ICEs with the nounified frontend:

It appears to be a bad interaction between method expressions, receiver parameters of derived type, and method embedding.

It currently works with GOEXPERIMENT=unified. Marking for Go 1.20, because I expect enabling unified IR by default is how we'll fix this issue.

/cc @golang/compiler

@mdempsky mdempsky added the NeedsFix label Jul 25, 2022
@mdempsky mdempsky added this to the Go1.20 milestone Jul 25, 2022
@gopherbot gopherbot added the compiler/runtime label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
compiler/runtime NeedsFix
Status: Todo

No branches or pull requests

2 participants