• Luuk van Dijk's avatar
    cmd/gc: fix strict tree property for AST for OAS2RECV nodes. · e7f89fcb
    Luuk van Dijk authored
    in typecheck and walk, conversion from OAS2RECV to OAS2
    and to OSELRECV2 duplicated the ->rlist->n to ->right
    thereby destroying the strict tree-ness of the AST (up to
    ONAMES) of course.  Several recursions in esc.c and inl.c
    and probably elsewhere assume nodes of the tree aren't duplicated.
    rather than defensively code around this, i'd rather assert
    these cases away and fix their cause.
    
    (this was tripped in 6741044)
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/6750043
    e7f89fcb
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...