From a12141e5f4e905045dca5dff2669b64d9b93788f Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 22 Oct 2010 08:58:52 -0700 Subject: [PATCH] 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 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 2373490c24..41368309de 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,5 +1,5 @@ - +