tools/go/analysis
Reilly Watson 36563e24a2 cmd/vet: verify potentially-recursive Stringers are actually Stringers
The printf recursiveStringer check was checking for a function called String(),
but wasn't checking that it matched the actual function signature of Stringer.

Fixes golang/go#30441

Change-Id: I09d5fba035bb717036f7edf57efc63e2e3fe51d5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/164217
Reviewed-by: Alan Donovan <adonovan@google.com>
2019-04-25 15:00:28 +00:00
..
analysistest go/analysis/analysistest: change error message checked in expectation 2019-02-12 19:41:11 +00:00
cmd/vet go/analysis/cmd/vet: add errorsas analyzer 2019-03-26 22:16:39 +00:00
internal go/analysis/internal/checker: don't clobber fact when codeFact fails 2019-03-21 21:13:22 +00:00
multichecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
passes cmd/vet: verify potentially-recursive Stringers are actually Stringers 2019-04-25 15:00:28 +00:00
singlechecker go/analysis/singlechecker: use Stderr in flag.Usage 2019-02-14 16:35:53 +00:00
unitchecker go/analysis/unitchecker: allow dash in file paths 2019-03-30 18:03:04 +00:00
analysis.go go/{analysis,packages}: add TypesSizes 2019-01-17 19:41:23 +00:00
doc.go go/analysis: fix typos and update documentation 2019-01-11 18:03:38 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00