Commit 458632a2 authored by Robert Griesemer's avatar Robert Griesemer

spec: BuiltinCall syntax must permit "..." for append

Also: fix an incorrect link.

Fixes #4479.
Fixes #4456.

R=rsc, iant, r, ken
CC=golang-dev
https://golang.org/cl/6868062
parent 76937156
<!--{
"Title": "The Go Programming Language Specification",
"Subtitle": "Version of December 3, 2012",
"Subtitle": "Version of December 4, 2012",
"Path": "/ref/spec"
}-->
......@@ -1013,7 +1013,7 @@ promoted methods are included in the method set of the struct as follows:
A field declaration may be followed by an optional string literal <i>tag</i>,
which becomes an attribute for all the fields in the corresponding
field declaration. The tags are made
visible through a <a href="#Package_unsafe">reflection interface</a>
visible through a <a href="/pkg/reflect/#StructTag">reflection interface</a>
but are otherwise ignored.
</p>
......@@ -4831,7 +4831,7 @@ they cannot be used as function values.
<pre class="ebnf">
BuiltinCall = identifier "(" [ BuiltinArgs [ "," ] ] ")" .
BuiltinArgs = Type [ "," ExpressionList ] | ExpressionList .
BuiltinArgs = Type [ "," ArgumentList ] | ArgumentList .
</pre>
<h3 id="Close">Close</h3>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment