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
cmd/go: go test should not report two compilation failures #26125
Comments
Duplicate of #26100 ? |
It is a duplicate, but this one has an example. I'll close that one. |
My suggestion from 26100 is just to suppress errors from vet until compilation has succeeded. |
Wanted behaviour of vet in the compiler is similar to the way vet is implemented in Playground. There vet check is performed only if the compilation has succeeded. I see this as a good UI. Playground with vet check is not deployed, thought. @andybons, have you planned the deployment of Playground? |
@ysmolsky let’s discuss playground deployment off this thread :). (short answer: no, but only because I just haven’t gotten to it). |
Anyone working on this? |
Change https://golang.org/cl/123938 mentions this issue: |
The compiler is failing and the vet is failing. It's annoying (or worse) to print the same errors twice, in slightly different forms.
Go 1.10 did the right thing (perhaps because it ignored vet typecheck errors entirely in go test).
Should fix for Go 1.11.
We may need to start ignoring typecheck errors for one more release anyway, in which case we'd get this for free, but we should put in a real fix too, and a test, or else this will happen again in Go 1.12 or whenever we do re-enable typecheck errors from go vet during go test.
The text was updated successfully, but these errors were encountered: