go/printer, gofmt: improved comma placement
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 issue 3062.
*** Submitted as http://code.google.com/p/go/source/detail?r=71e92f075ee7 *** go/printer, gofmt: improved comma placement Not a Go 1 issue, ...
12 years, 2 months ago
(2012-02-22 19:27:45 UTC)
#2
*** Submitted as http://code.google.com/p/go/source/detail?r=71e92f075ee7 ***
go/printer, gofmt: improved comma placement
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 issue 3062.
R=rsc
CC=golang-dev
http://codereview.appspot.com/5674093
Issue 5674093: code review 5674093: go/printer, gofmt: improved comma placement
(Closed)
Created 12 years, 3 months ago by gri
Modified 12 years, 2 months ago
Reviewers:
Base URL:
Comments: 0