You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the latest version of go vet from code.google.com/p/go.tools/cmd/vet
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Define a function Error(a, b)
2. Call Error("%", "")
3. See spurious warning from "go vet".
http://play.golang.org/p/m8yVe4vSbB
What is the expected output?
I would not expect a warning in this case.
What do you see instead?
t.go:7: possible formatting directive in Error call
Which version are you using? (run 'go version')
"go vet" tip
The text was updated successfully, but these errors were encountered:
Vet sometimes generates false positives. It's hard to avoid. Assigning to r in case he
thinks something should be done about it, but I suspect this might be WorkingAsIntended.
by [email protected]:
The text was updated successfully, but these errors were encountered: