1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:54:44 -07:00
go/cmd/vet
Alan Donovan 1f29e74bfa go.tools/go/types: remove Type.MethodSet() method.
Method-set caching is now performed externally using a MethodSetCache (if desired), not by the Types themselves.

This a minor deoptimization due to the extra maps, but avoids a situation in which method-sets are computed and frozen prematurely. (See b/7114)

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/61430045
2014-02-11 16:49:27 -05:00
..
testdata go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
whitelist cmd/vet: move whitelist to its own package 2013-08-20 15:39:49 -07:00
asmdecl.go go.tools/cmd/vet: handle symbolic TEXT annotations 2013-11-01 11:49:11 -07:00
assign.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
atomic.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
buildtag.go go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
composite.go cmd/vet: move whitelist to its own package 2013-08-20 15:39:49 -07:00
copylock.go go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
deadcode.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
doc.go go.tools/cmd/vet: the composite test is about keys, not tags 2013-08-03 12:19:59 +10:00
main.go go.tools/go/types: combine Info.{Types,Values} maps. 2014-01-28 16:46:24 -05:00
method.go go.tools/cmd/vet: Update canonical method check for new xml.Marshaler/Unmarshaler interfaces 2013-10-07 11:10:36 -07:00
nilfunc.go go.tools/go/types: combine Info.{Types,Values} maps. 2014-01-28 16:46:24 -05:00
print.go go.tools/go/types: combine Info.{Types,Values} maps. 2014-01-28 16:46:24 -05:00
rangeloop.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
shadow.go go.tools/go/types: cleanup: more consistent exported predicate names 2014-01-28 10:57:56 -08:00
structtag.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
types.go go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
vet_test.go go.tools/cmd/vet: add check for shadowed variables 2013-06-21 11:27:53 -07:00