gofmt: don't print ()'s around function-typed results (not needed anymore)

- add extra test cases to go/printer tests
- apply gofmt to src and misc

R=rsc
CC=golang-dev
https://golang.org/cl/223041
This commit is contained in:
Robert Griesemer 2010-02-24 13:24:37 -08:00
parent 228903c5da
commit 1be05bbe1e
9 changed files with 41 additions and 37 deletions

View file

@ -146,7 +146,7 @@ var typeTests = []pair{
},
pair{struct {
x (interface {
a(func(func(int) int) (func(func(int)) int))
a(func(func(int) int) func(func(int)) int)
b()
})
}{},