Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
a8abb64a
Commit
a8abb64a
authored
Oct 27, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go spec: note re: append() not being implemented yet
R=rsc CC=golang-dev
https://golang.org/cl/2761041
parent
fe57dd85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
go_spec.html
doc/go_spec.html
+6
-1
No files found.
doc/go_spec.html
View file @
a8abb64a
<!-- title The Go Programming Language Specification -->
<!-- title The Go Programming Language Specification -->
<!-- subtitle Version of Oct 2
5
, 2010 -->
<!-- subtitle Version of Oct 2
6
, 2010 -->
<!--
<!--
TODO
TODO
...
@@ -4557,6 +4557,10 @@ s2 := append(s1, 3, 5, 7) // append multiple elements s2 == []int{0, 0, 2, 3
...
@@ -4557,6 +4557,10 @@ 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}
s3 := append(s2, s0...) // append a slice s3 == []int{0, 0, 2, 3, 5, 7, 0, 0}
</pre>
</pre>
<p>
<span
class=
"alert"
>
Note:
<code>
append
</code>
is not yet implemented.
</span>
</p>
<p>
<p>
The function
<code>
copy
</code>
copies slice elements from
The function
<code>
copy
</code>
copies slice elements from
a source
<code>
src
</code>
to a destination
<code>
dst
</code>
and returns the
a source
<code>
src
</code>
to a destination
<code>
dst
</code>
and returns the
...
@@ -5228,6 +5232,7 @@ The following minimal alignment properties are guaranteed:
...
@@ -5228,6 +5232,7 @@ The following minimal alignment properties are guaranteed:
<h2
id=
"Implementation_differences"
><span
class=
"alert"
>
Implementation differences - TODO
</span></h2>
<h2
id=
"Implementation_differences"
><span
class=
"alert"
>
Implementation differences - TODO
</span></h2>
<ul>
<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"
>
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: Method expressions are partially 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>
<li><span
class=
"alert"
>
Gccgo: allows only one init() function per source file.
</span></li>
</ul>
</ul>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment