]> Cypherpunks repositories - gostls13.git/commit
allow parens to disambiguate types.
authorRuss Cox <rsc@golang.org>
Wed, 18 Feb 2009 18:07:46 +0000 (10:07 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 18 Feb 2009 18:07:46 +0000 (10:07 -0800)
commitebc10db3e14facac2cb843e12486f1f2176727d9
tree142b19182e464bc8811c91b8e93f4994ddb25d6f
parent6950491b4f0475f488a3a47b8d7771131cd2e8e7
allow parens to disambiguate types.
examples:

chan <- (chan int)
chan (<- chan int)
(map[string]func())("a": main)

R=ken
OCL=25151
CL=25151
src/cmd/gc/go.y
test/parentype.go [new file with mode: 0644]