Descriptionvet: improve flag handling
Simplify the internal logic for flags controlling what to vet,
by introducing a map of flags that gathers them all together.
This change should simplify the process of adding further flags.
Add a test for untagged struct literals.
Delete a redundant test that was also in the wrong file.
Clean up some ERROR patterns that weren't working.
"make test" passes again.
Patch Set 1 #Patch Set 2 : diff -r 6c6b3968b605 https://code.google.com/p/go/ #Patch Set 3 : diff -r 6c6b3968b605 https://code.google.com/p/go/ #Patch Set 4 : diff -r 6c6b3968b605 https://code.google.com/p/go/ #
Total comments: 1
MessagesTotal messages: 5
|