tools/go/analysis
Alan Donovan 99072bc9d7 go/analysis/passes/stdmethods: rewrite check to use go/types
Now that vet can rely on go/types, there's no reason to do extra work to
avoid using it. The rewrite lets us get rid of the field list flattening
code, as well as the slight verbosity that comes with go/printer.

While at it, make the testdata/method.go expected errors be more
specific, to make sure that we're not breaking the warnings that are
printed.

This change was originally made to cmd/vet in
https://go-review.googlesource.com/c/148919

Change-Id: I123e64d369e521199712c9807583c53d428534ac
Reviewed-on: https://go-review.googlesource.com/c/149418
Reviewed-by: Michael Matloob <matloob@golang.org>
2018-11-14 14:52:09 +00:00
..
analysistest go/analysis/cmd/analyze: install all analyzers 2018-10-19 17:03:54 +00:00
cmd go/analysis/cmd/vet-lite: remove deprecation warnings 2018-11-13 15:29:50 +00:00
internal go/analysis/internal/analysisflags: add flag aliases for renames 2018-11-13 19:21:26 +00:00
multichecker go/analysis/cmd/vet-lite: make CLI closer to cmd/vet 2018-11-09 19:31:51 +00:00
passes go/analysis/passes/stdmethods: rewrite check to use go/types 2018-11-14 14:52:09 +00:00
singlechecker go/analysis/internal/analysisflags: common flag handling 2018-10-19 17:43:12 +00:00
analysis.go go/analysis: write package documentation 2018-10-08 17:31:26 +00:00
doc.go go/analysis/cmd/vet: new name for cmd/analyze 2018-10-19 18:46:07 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00