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
"Internal error: unhandled case *types.Interface" when embedding any
in a struct
#1361
Comments
Different reproducer showing the actual problem: embedding type aliases to unnamed types:
will fix. |
I also ran into this problem; our code also used a type alias for a struct, and I distilled a test case down to the exact same case that @dominikh came up with. Got the exact same panic and stack trace, too. Worked on 0.3.3, but not 0.4.0. |
I am also encountering this error, tho with |
Embedding any alias that resolves to an unnamed type (such as |
Will a fix for this be in the next release? |
Hopefully, yes. But I can't put a precise date on when the next release will be. |
No worries, appreciate the quick response! 🙏 |
Started in v0.4.0. v0.3.3 doesn't panic
The text was updated successfully, but these errors were encountered: