1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:14:46 -07:00
go/cmd/vet/testdata
Andrew Gerrand 74ecc2c09b go.tools/cmd/vet: detect useless function comparisons
Also fix bug in types.go discovered by this check.

Fixes golang/go#5347.

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/13102043
2013-08-20 16:11:01 +10:00
..
asm1.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm2.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm3.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
assign.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
atomic.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
buildtag_bad.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
buildtag.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
composite.go go.tools/cmd/vet: the composite test is about keys, not tags 2013-08-03 12:19:59 +10:00
deadcode.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
method.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
nilfunc.go go.tools/cmd/vet: detect useless function comparisons 2013-08-20 16:11:01 +10:00
print.go undo CL 12811043 / 44387735a77d 2013-08-19 11:12:44 +10:00
rangeloop.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
shadow.go go.tools/cmd/vet: add check for shadowed variables 2013-06-21 11:27:53 -07:00
structtag.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00