1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00
go/cmd
Rob Pike 331c428e76 go.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 golang/go#5634.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/10409047
2013-06-21 11:27:53 -07:00
..
cover go.tools.cmd/cover: define a block to end at the closing brace rather than last statement 2013-06-19 09:11:32 -07:00
vet go.tools/cmd/vet: add check for shadowed variables 2013-06-21 11:27:53 -07:00