tools/go/analysis/passes/printf
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
..
testdata/src cmd/vet: verify potentially-recursive Stringers are actually Stringers 2019-04-25 15:00:28 +00:00
printf.go cmd/vet: verify potentially-recursive Stringers are actually Stringers 2019-04-25 15:00:28 +00:00
printf_test.go go/analysis/passes/printf: fix big.Int false positive 2019-02-28 20:38:56 +00:00
types.go go/analysis/passes/printf: fix big.Int false positive 2019-02-28 20:38:56 +00:00