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

Issue 75140043: code review 75140043: go.tools/cmd/vet: don't check for shadowing of blank id... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by r
Modified:
11 years, 1 month ago
Reviewers:
gri
CC:
gri, golang-codereviews
Visibility:
Public.

Description

go.tools/cmd/vet: don't check for shadowing of blank identifier It's pointless. Also this fixes a crash, because the blank identifier no longer appears as a defined object after CL 74190043 so we were getting nil pointer violations. Even better, we get to re-enable a disabled test.

Patch Set 1 #

Patch Set 2 : diff -r 41e943a29d80 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M cmd/vet/shadow.go View 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/vet/testdata/shadow.go View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 3
r
Hello gri (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
11 years, 1 month ago (2014-03-12 23:25:27 UTC) #1
gri
LGTM
11 years, 1 month ago (2014-03-12 23:26:52 UTC) #2
r
11 years, 1 month ago (2014-03-12 23:28:06 UTC) #3
*** Submitted as
https://code.google.com/p/go/source/detail?r=99e226f19fba&repo=tools ***

go.tools/cmd/vet: don't check for shadowing of blank identifier
It's pointless.
Also this fixes a crash, because the blank identifier no longer appears as a
defined object after CL 74190043 so we were getting nil pointer violations.
Even better, we get to re-enable a disabled test.

LGTM=gri
R=gri
CC=golang-codereviews
https://codereview.appspot.com/75140043
Sign in to reply to this message.

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