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
Compiling this package with GOEXPERIMENT=fieldtrack causes an ICE, when it should just report a compiler error:
GOEXPERIMENT=fieldtrack
package p func f(interface{ m() }) {} func g() { f(new(T)) } type T struct {} //go:nointerface func (*T) m() {}
The text was updated successfully, but these errors were encountered:
This seems to be present since -G=3 added.
-G=3
The old typechecker problem exposed by https://go-review.googlesource.com/c/go/+/394575.
I'm not sure what's the best place to address this, types2 does not know about go:nointerface pragma.
go:nointerface
Sorry, something went wrong.
Probably we should just error out during tcConv instead of fatal. That would catch invalid conversion due to go pragma.
tcConv
Change https://go.dev/cl/532515 mentions this issue: cmd/compile: do not fatal when typechecking conversion expression
cmd/compile: do not fatal when typechecking conversion expression
38db031
mdempsky
No branches or pull requests
Compiling this package with
GOEXPERIMENT=fieldtrack
causes an ICE, when it should just report a compiler error:The text was updated successfully, but these errors were encountered: