Russ Cox
|
6f1698774d
|
undo 35108 (disallow parens around type in struct literal).
allow parens around [...]int in struct literal.
R=ken
OCL=35112
CL=35130
|
2009-09-29 21:21:14 -07:00 |
|
Russ Cox
|
9c3c140984
|
disallow parens around type in struct literal syntax,
per discussion with gri.
R=ken
OCL=35108
CL=35108
|
2009-09-29 16:05:44 -07:00 |
|
Russ Cox
|
be2edb5761
|
Automated g4 rollback of changelist 25024,
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
2009-03-03 08:39:12 -08:00 |
|
Russ Cox
|
ebc10db3e1
|
allow parens to disambiguate types.
examples:
chan <- (chan int)
chan (<- chan int)
(map[string]func())("a": main)
R=ken
OCL=25151
CL=25151
|
2009-02-18 10:07:46 -08:00 |
|