Descriptiongo.tools/cmd/vet: add check for shadowed variables
Experimental feature. It's too noisy yet to be enabled by default,
so it must be enabled explicitly by
go tool vet -shadow *.go
or
go tool vet -shadow directory
(The go command does not know about the -shadow flag.)
Fixes issue 5634.
Patch Set 1 #Patch Set 2 : diff -r f40ac11d013b https://code.google.com/p/go.tools #Patch Set 3 : diff -r f40ac11d013b https://code.google.com/p/go.tools #
Total comments: 25
Patch Set 4 : diff -r 7a0800d10ab0 https://code.google.com/p/go.tools #
MessagesTotal messages: 5
|