-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: re-enable go/types requirement during vet during go test #22890
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
Comments
For the reference: The offending go/types issue is #18395 (plus a few duplicates). |
Should a warning of some sort be printed? Otherwise, the user might get the wrong idea that there are no vet warnings at all. |
Change https://golang.org/cl/81500 mentions this issue: |
For Go 1.10, works around a go/types bug that can't typecheck a corner-case type cycle. Once we are confident that bugs like this are gone from go/types then we can stop ignoring these failures. For #22890. Change-Id: I38da57e01a0636323e1af4484c30871786125df3 Reviewed-on: https://go-review.googlesource.com/81500 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
The CL is in, so vet no longer dies. Repurposing this issue for removing the check once we believe go/types is safe to require (hopefully for Go 1.11). |
This is marked as early-in-cicle for 1.11 - do we still want to do this in the current cycle? |
This was done by https://golang.org/cl/108555, so closing. |
@griesemer has some reports that go/types fails on some code during automatic vet-during-test. We should make a type-checking failure during vet-during-go-test a silent vet success instead (we know the code compiles, so we know vet is at fault), but vet-during-go-vet should still fail.
The text was updated successfully, but these errors were encountered: