]> Cypherpunks repositories - gostls13.git/commit
go spec: relaxed syntax for array, slice, and map composite literals
authorRobert Griesemer <gri@golang.org>
Fri, 22 Oct 2010 15:58:52 +0000 (08:58 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 22 Oct 2010 15:58:52 +0000 (08:58 -0700)
commita12141e5f4e905045dca5dff2669b64d9b93788f
treecce197d2414eda23a204fc5b27681af1bacb4e2d
parent1c8f185611fd123ec2a5840f791bcb014e96cbef
go spec: relaxed syntax for array, slice, and map composite literals

For elements which are themselves composite literals, the type may
be omitted if it is identical to the element type of the containing
composite literal.

R=r, rsc, iant, ken2
CC=golang-dev
https://golang.org/cl/2661041
doc/go_spec.html