]> Cypherpunks repositories - gostls13.git/commit
- always format blocks with closing } on a new line, even if empty
authorRobert Griesemer <gri@golang.org>
Wed, 4 Nov 2009 21:31:20 +0000 (13:31 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 4 Nov 2009 21:31:20 +0000 (13:31 -0800)
commit2f792d32be161f61063e84edb3bb83182371cc68
tree2ecbe846fc01675b058df78a49ac5ebb382a9ef2
parent98ac4c6e65a953aa04e6ac627760b691960e1ce7
- always format blocks with closing } on a new line, even if empty
- at the moment this also affects single-line function declarations
  because we have disabled them at the moment (but not single-line
  function literals)

R=rsc
http://go/go-review/1016040
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/declarations.golden
src/pkg/go/printer/testdata/statements.golden