]> Cypherpunks repositories - gostls13.git/commit
cmd/go: ignore vet typecheck failure during go test
authorRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 17:17:37 +0000 (12:17 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 21:06:03 +0000 (21:06 +0000)
commit76dc4b1952b93a4e804ecb9a6126620ef9399d36
tree4003f1597c79732aedfeb2fab1b7c35cfc6c4b78
parent2f8bcc89408274821e91be464f51b4e2a816cbae
cmd/go: ignore vet typecheck failure during go test

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>
src/cmd/go/go_test.go
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/src/vetcycle/p.go [new file with mode: 0644]
src/cmd/vet/main.go