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

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

Comments

@mdempsky
Copy link
Member

@mdempsky mdempsky commented Jul 25, 2022

This program is valid, but ICEs with the nounified frontend: https://go.dev/play/p/54ohNsbev55

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
Labels
compiler/runtime NeedsFix
Projects
Status: Todo
Development

No branches or pull requests

2 participants