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> |
||
---|---|---|
.. | ||
asmdecl | ||
assign | ||
atomic | ||
atomicalign | ||
bools | ||
buildssa | ||
buildtag | ||
cgocall | ||
composite | ||
copylock | ||
ctrlflow | ||
deepequalerrors | ||
errorsas | ||
findcall | ||
httpresponse | ||
inspect | ||
internal/analysisutil | ||
loopclosure | ||
lostcancel | ||
nilfunc | ||
nilness | ||
pkgfact | ||
printf | ||
shadow | ||
shift | ||
stdmethods | ||
structtag | ||
tests | ||
unmarshal | ||
unreachable | ||
unsafeptr | ||
unusedresult | ||
README |
README
This directory does not contain a Go package, but acts as a container for various analyses that implement the golang.org/x/tools/go/analysis API and may be imported into an analysis tool. By convention, each package foo provides the analysis, and each command foo/cmd/foo provides a standalone driver.