You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# command-line-arguments
./a.go:35:4: invalid operation: c (variable of type C) has no field or method Print
./a.go:36:4: invalid operation: c (variable of type C) has no field or method Print2
vet: typecheck failures
When using go1.12beta2
# command-line-arguments
vet: ./a.go:35:4: c.Print undefined (type C has no field or method Print)
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go vet
report an error message butgo build
success.Code on play.golang.org https://play.golang.org/p/fyn_dxhLQJC to reproduce the problem.
What did you expect to see?
No typecheck failures.
What did you see instead?
When using go1.11.4:
When using go1.12beta2
The text was updated successfully, but these errors were encountered: