• Robert Griesemer's avatar
    gofmt: avoid endless loops · a5ca6352
    Robert Griesemer authored
    With the (partial) resolution of identifiers done
    by the go/parser, ast.Objects point may introduce
    cycles in the AST. Don't follow *ast.Objects, and
    replace them with nil instead (they are likely
    incorrect after a rewrite anyway).
    
    - minor manual cleanups after reflect change automatic rewrite
    - includes fix by rsc related to reflect change
    
    Fixes #1667.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/4387044
    a5ca6352
Name
Last commit
Last update
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...