• Rémy Oudompheng's avatar
    cmd/gc: fix walkcompare bugs. · 14b0af42
    Rémy Oudompheng authored
    Revision c0e0467635ec (cmd/gc: return canonical Node* from temp)
    exposed original nodes of temporaries, allowing callers to mutate
    their types.
    
    In walkcompare a temporary could be typed as ideal because of
    this. Additionnally, assignment of a comparison result to
    a custom boolean type was broken.
    
    Fixes #7366.
    
    LGTM=rsc
    R=rsc, iant, khr
    CC=golang-codereviews
    https://golang.org/cl/66930044
    14b0af42
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...