We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code is accepted by mistake:
package p type T[P any] struct{} type _ interface{ int | T } // <<< expected error here for uninstantiated T
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/346293 mentions this issue: cmd/compile/internal/types2: union terms must be instantiated
cmd/compile/internal/types2: union terms must be instantiated
Sorry, something went wrong.
605d1aa
No branches or pull requests
This code is accepted by mistake:
The text was updated successfully, but these errors were encountered: