• David Symonds's avatar
    vet: fix rangeloop. · 5a93fea0
    David Symonds authored
    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.
    
    R=golang-dev, adg, r
    CC=golang-dev
    https://golang.org/cl/6540045
    5a93fea0
Name
Last commit
Last update
..
Makefile Loading commit data...
doc.go Loading commit data...
main.go Loading commit data...
method.go Loading commit data...
print.go Loading commit data...
rangeloop.go Loading commit data...
structtag.go Loading commit data...
taglit.go Loading commit data...