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
The following invalid cycle is currently detected by the compiler with the error "typechecking loop involving f".
func f([unsafe.Sizeof(f)]int) {}
https://play.golang.org/p/cfAFJHgsAkX
However no error is detected by go/types, both at master and in the dev.typeparams branch (where there have been some changes to cycle detection in function declarations).
dev.typeparams
CC @griesemer
The text was updated successfully, but these errors were encountered:
griesemer
Successfully merging a pull request may close this issue.
The following invalid cycle is currently detected by the compiler with the error "typechecking loop involving f".
https://play.golang.org/p/cfAFJHgsAkX
However no error is detected by go/types, both at master and in the
dev.typeparams
branch (where there have been some changes to cycle detection in function declarations).CC @griesemer
The text was updated successfully, but these errors were encountered: