]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/vet: don't exit with failure on type checking error
authorIan Lance Taylor <iant@golang.org>
Wed, 2 Aug 2017 19:06:58 +0000 (12:06 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 3 Aug 2017 04:22:02 +0000 (04:22 +0000)
commit664cd26c89ec59cb6b686a9b3887ace7a76b0047
tree6371fd93dd3d835f9cdf5b217f3458c2e90c24eb
parenta8730cd93a6731a14519902ccfed604971d3e8dc
cmd/vet: don't exit with failure on type checking error

The vet tool only reports a type checking error when invoked with -v.
Don't let that by itself cause vet to exit with an error exit status.

Updates #21188

Change-Id: I172c13d46c35d49e229e96e833683d8c82a77de7
Reviewed-on: https://go-review.googlesource.com/52851
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/main.go
src/cmd/vet/testdata/cgo/cgo3.go [new file with mode: 0644]
src/cmd/vet/vet_test.go