Descriptionvet: fix rangeloop.
In a range loop, the presence of a value implies the presence of a key.
However, the presence of a value as an *ast.Ident does not imply that
the key is also an *ast.Ident, thus leading to a panic any time the
two argument form is used where the key is not an identifier.
Patch Set 1 #Patch Set 2 : diff -r b0c749cc5654 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r b0c749cc5654 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r b5b922479280 https://go.googlecode.com/hg/ #MessagesTotal messages: 5
|