gc: fix chan <- chan precedence.

also allow func() func().

R=ken2
CC=golang-dev
https://golang.org/cl/194078
This commit is contained in:
Russ Cox 2010-01-26 10:40:28 -08:00
parent 46871692c2
commit 7abb4b3a96
9 changed files with 185 additions and 95 deletions

View file

@ -150,7 +150,7 @@ var typeTests = []pair{
b()
})
}{},
"interface { a (func(func(int) (int)) (func(func(int)) (int))); b () }",
"interface { a(func(func(int) int) func(func(int)) int); b() }",
},
}