]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: append is now implemented
authorRobert Griesemer <gri@golang.org>
Fri, 29 Oct 2010 18:44:48 +0000 (11:44 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 29 Oct 2010 18:44:48 +0000 (11:44 -0700)
R=r, r2
CC=golang-dev
https://golang.org/cl/2717043

doc/go_spec.html

index 5acb8169ab76c1f83e5f263fab25c336742f2b89..cc01e433b1c89857373ac0d45f9a8780519aa55f 100644 (file)
@@ -1,5 +1,5 @@
 <!-- title The Go Programming Language Specification -->
-<!-- subtitle Version of Oct 27, 2010 -->
+<!-- subtitle Version of Oct 29, 2010 -->
 
 <!--
 TODO
@@ -4558,10 +4558,6 @@ s2 := append(s1, 3, 5, 7)  // append multiple elements    s2 == []int{0, 0, 2, 3
 s3 := append(s2, s0...)    // append a slice              s3 == []int{0, 0, 2, 3, 5, 7, 0, 0}
 </pre>
 
-<p>
-<span class="alert">Note: <code>append</code> is not yet implemented.</span>
-</p>
-
 <p>
 The function <code>copy</code> copies slice elements from
 a source <code>src</code> to a destination <code>dst</code> and returns the
@@ -5233,7 +5229,7 @@ The following minimal alignment properties are guaranteed:
 <h2 id="Implementation_differences"><span class="alert">Implementation differences - TODO</span></h2>
 <ul>
        <li><span class="alert">Implementation does not honor the restriction on goto statements and targets (no intervening declarations).</span></li>
-       <li><span class="alert">The <code>append</code> built-in function is not yet implemented.</span></li>
+       <li><span class="alert">Gccgo: The <code>append</code> built-in function is not yet implemented.</span></li>
        <li><span class="alert">Gccgo: Method expressions are partially implemented.</span></li>
        <li><span class="alert">Gccgo: allows only one init() function per source file.</span></li>
 </ul>