Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1998)

Issue 7308049: code review 7308049: cmd/go: fix vet (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by rsc
Modified:
11 years, 2 months ago
Reviewers:
CC:
golang-dev, minux1, fss
Visibility:
Public.

Description

cmd/go: fix vet The IgnoredGoFiles are already listed in allgofiles, so they were being run twice. Worse, the ones in IgnoredGoFiles are not fully qualified paths, so they weren't being found when executed outside the package directory. Fixes issue 4764.

Patch Set 1 #

Patch Set 2 : diff -r 36d247dd8ee5 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 36d247dd8ee5 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r 01baf2f3b2db https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/go/vet.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 2 months ago (2013-02-05 18:20:07 UTC) #1
minux1
https://codereview.appspot.com/7308049/diff/5001/src/cmd/go/vet.go File src/cmd/go/vet.go (right): https://codereview.appspot.com/7308049/diff/5001/src/cmd/go/vet.go#newcode32 src/cmd/go/vet.go:32: // Use pkg.gofiles instead of pkg.Dir so that seems ...
11 years, 2 months ago (2013-02-05 18:24:07 UTC) #2
minux1
code LGTM.
11 years, 2 months ago (2013-02-05 18:25:10 UTC) #3
fss
LGTM. Thanks.
11 years, 2 months ago (2013-02-06 10:49:09 UTC) #4
fss
ping?
11 years, 2 months ago (2013-02-14 19:24:24 UTC) #5
rsc
11 years, 2 months ago (2013-02-14 20:00:55 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=19877242dd17 ***

cmd/go: fix vet

The IgnoredGoFiles are already listed in allgofiles,
so they were being run twice. Worse, the ones in
IgnoredGoFiles are not fully qualified paths, so they
weren't being found when executed outside the
package directory.

Fixes issue 4764.

R=golang-dev, minux.ma, franciscossouza
CC=golang-dev
https://codereview.appspot.com/7308049
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b