• Robert Griesemer's avatar
    go/parser: fix (pathological) corner case · ec96795b
    Robert Griesemer authored
    Inside a control clause (if ... {}), composite
    literals starting with a type name must be parenthesized.
    A composite literal used in the array length expression
    of an array composite literal is already parenthesized.
    Not a valid program, but syntactically is should
    be accepted.
    
    LGTM=adonovan
    R=adonovan
    CC=golang-codereviews
    https://golang.org/cl/142760043
    ec96795b
Name
Last commit
Last update
..
ast Loading commit data...
build Loading commit data...
doc Loading commit data...
format Loading commit data...
parser Loading commit data...
printer Loading commit data...
scanner Loading commit data...
token Loading commit data...