]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: make struct tag literal test work better with no go/types
authorRuss Cox <rsc@golang.org>
Wed, 13 Mar 2013 21:37:37 +0000 (17:37 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 13 Mar 2013 21:37:37 +0000 (17:37 -0400)
commit3048a4c7b35cd8af0d8d0fe97a4a970e7ffe6478
tree683c44f2d62a6e14d27bf56b11607a57b39fdeb8
parent221163411312443b5e13c17382a101a94bd2db62
cmd/vet: make struct tag literal test work better with no go/types

Eliminate false positives when you can tell even without
type information that the literal does not need field tags.

Far too noisy otherwise.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7797043
src/cmd/vet/Makefile
src/cmd/vet/taglit.go
src/cmd/vet/test_taglit.go
src/cmd/vet/types.go
src/cmd/vet/typestub.go