Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(552)

Unified Diff: cmd/vet/method.go

Issue 106510044: go.tools/cmd/vet: enable file level checker short-circuiting (Closed)
Patch Set: diff -r 0f0740bbe48a https://code.google.com/p/go.tools Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cmd/vet/main.go ('k') | cmd/vet/nilfunc.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/vet/method.go
===================================================================
--- a/cmd/vet/method.go
+++ b/cmd/vet/method.go
@@ -16,10 +16,13 @@
func init() {
register("methods",
"check that canonically named methods are canonically defined",
+ filterCanonicalMethod,
checkCanonicalMethod,
funcDecl, interfaceType)
}
+func filterCanonicalMethod(f *File) bool { return true }
+
type MethodSig struct {
args []string
results []string
« no previous file with comments | « cmd/vet/main.go ('k') | cmd/vet/nilfunc.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b