• Robert Griesemer's avatar
    go/printer, gofmt: improved comma placement · 8b7cdb7f
    Robert Griesemer authored
    Not a Go 1 issue, but appeared to be fairly easy to fix.
    
    - Note that a few existing test cases look slightly worse but
      those cases were not representative for real code. All real
      code looks better now.
    
    - Manual move of the comment in go/scanner/example_test.go
      before applying gofmt.
    
    - gofmt -w $GOROOT/src $GOROOT/misc
    
    Fixes #3062.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/5674093
    8b7cdb7f
socks5.go 5.39 KB