]> Cypherpunks repositories - gostls13.git/commit
gofmt/main: Added removal of empty declaration groups.
authorSimon Whitehead <chemnova@gmail.com>
Tue, 1 Jul 2014 16:32:03 +0000 (09:32 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 1 Jul 2014 16:32:03 +0000 (09:32 -0700)
commit138099ae96332d2a5a63888c96001286d7273907
tree993352696f0c4b104ee8faa60898de294bd3b10c
parent5005c29ae0aa49bf012ad6354164d10204915a2f
gofmt/main: Added removal of empty declaration groups.

Fixes #7631.

LGTM=gri
R=golang-codereviews, bradfitz, gri
CC=golang-codereviews
https://golang.org/cl/101410046
src/cmd/gofmt/gofmt_test.go
src/cmd/gofmt/simplify.go
src/cmd/gofmt/testdata/emptydecl.golden [new file with mode: 0644]
src/cmd/gofmt/testdata/emptydecl.input [new file with mode: 0644]