Descriptionvet: check values for named constants as well as literals.
As in:
const format = "%s"
fmt.Printf(format, "hi")
Also fix a couple of bugs by rewriting the routine.
Patch Set 1 #Patch Set 2 : diff -r a5db0f596a99 https://code.google.com/p/go/ #Patch Set 3 : diff -r a5db0f596a99 https://code.google.com/p/go/ #Patch Set 4 : diff -r a5db0f596a99 https://code.google.com/p/go/ #MessagesTotal messages: 3
|