-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
dev.go2go: generic embedded field names are not found in composite literals #44345
Comments
cc: @findleyr |
It appears this error message is coming from the compiler, not the type checker (both |
Leaving for @ianlancetaylor to decide. |
I agree that The go2go translation tool has many bugs with embedded fields. |
This appears to be working fine in Go 1.18 (playground). Closing. |
Example:
We get an error:
yet when a
T
is set up manually, theE
field is recognized.The text was updated successfully, but these errors were encountered: