]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix vet
authorFrancisco Souza <franciscossouza@gmail.com>
Mon, 25 Feb 2013 18:43:04 +0000 (10:43 -0800)
committerRob Pike <r@golang.org>
Mon, 25 Feb 2013 18:43:04 +0000 (10:43 -0800)
commitf5afc7d44f5ef20316c9d1d7ec28b45117f3add3
treea41599ecabcd2f7e1f8044862a7cd05e9361f486
parentf5dce6c85339fff4c7328e21b8676eae4fee6ef2
cmd/go: fix vet

Now that vet does typechecking, it should use only pkg.gofiles, instead
of pkg.allgofiles. Ignored files should not be checked by vet, because
they wouldn't typecheck.

Fixes #4906.

R=rsc, r
CC=golang-dev
https://golang.org/cl/7401051
src/cmd/go/vet.go