Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
ffe70eaa
Commit
ffe70eaa
authored
Aug 31, 2011
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go spec: update section on Implementation Differences
R=rsc, r CC=golang-dev
https://golang.org/cl/4977046
parent
7c203b8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
doc/go_spec.html
doc/go_spec.html
+3
-4
No files found.
doc/go_spec.html
View file @
ffe70eaa
<!-- title The Go Programming Language Specification -->
<!-- subtitle Version of
July 14
, 2011 -->
<!-- subtitle Version of
August 31
, 2011 -->
<!--
TODO
...
...
@@ -5265,8 +5265,7 @@ The following minimal alignment properties are guaranteed:
<h2
id=
"Implementation_differences"
>
Implementation differences - TODO
</h2>
<ul>
<li><code>
len(a)
</code>
is only a constant if
<code>
a
</code>
is a (qualified) identifier denoting an array or pointer to an array.
</li>
<li><code>
nil
</code>
maps are not treated like empty maps.
</li>
<li>
Trying to send/receive from a
<code>
nil
</code>
channel causes a run-time panic.
</li>
<li><code>
unsafe.Alignof
</code>
,
<code>
unsafe.Offsetof
</code>
, and
<code>
unsafe.Sizeof
</code>
return an
<code>
int
</code>
.
</li>
<li>
In gccgo,
<code>
nil
</code>
maps are not treated like empty maps.
</li>
<li>
In gccgo, trying to send/receive from a
<code>
nil
</code>
channel causes a run-time panic.
</li>
</ul>
</span>
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