cmd/compile: ICE on embedded method expression with receiver parameter of derived type #54058
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
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
The text was updated successfully, but these errors were encountered: