mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
228903c5da
commit
1be05bbe1e
9 changed files with 41 additions and 37 deletions
|
|
@ -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()
|
||||
})
|
||||
}{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue