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
0b4de7aa
Commit
0b4de7aa
authored
Nov 10, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment out red TODO clauses except for the last one
R=rsc CC=go-dev
http://go/go-review/1024037
parent
9f42ccb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
go_spec.html
doc/go_spec.html
+13
-2
No files found.
doc/go_spec.html
View file @
0b4de7aa
...
@@ -1870,9 +1870,11 @@ package, which means that it must begin with a Unicode upper case letter.
...
@@ -1870,9 +1870,11 @@ package, which means that it must begin with a Unicode upper case letter.
math.Sin
math.Sin
</pre>
</pre>
<!---
<p>
<p>
<span class="alert">TODO: Unify this section with Selectors - it's the same syntax.</span>
<span class="alert">TODO: Unify this section with Selectors - it's the same syntax.</span>
</p>
</p>
--->
<h3
id=
"Composite_literals"
>
Composite literals
</h3>
<h3
id=
"Composite_literals"
>
Composite literals
</h3>
...
@@ -2223,9 +2225,11 @@ p.M0 // ((*p).T0).M0
...
@@ -2223,9 +2225,11 @@ p.M0 // ((*p).T0).M0
</pre>
</pre>
<!---
<span class="alert">
<span class="alert">
TODO: Specify what happens to receivers.
TODO: Specify what happens to receivers.
</span>
</span>
--->
<h3
id=
"Indexes"
>
Indexes
</h3>
<h3
id=
"Indexes"
>
Indexes
</h3>
...
@@ -2811,7 +2815,7 @@ that is, either a variable, pointer indirection, array or slice indexing
...
@@ -2811,7 +2815,7 @@ that is, either a variable, pointer indirection, array or slice indexing
operation,
operation,
or a field selector of an addressable struct operand.
or a field selector of an addressable struct operand.
A function result variable is not addressable.
A function result variable is not addressable.
(
<span
class=
"alert"
>
TODO: remove this restriction.
</span>
)
<!--- (<span class="alert">TODO: remove this restriction.</span>) --->
Given an operand of pointer type, the pointer indirection
Given an operand of pointer type, the pointer indirection
operator
<code>
*
</code>
retrieves the value pointed
operator
<code>
*
</code>
retrieves the value pointed
to by the operand.
to by the operand.
...
@@ -2912,10 +2916,12 @@ to <code>false</code> and <code>x</code> is set to the
...
@@ -2912,10 +2916,12 @@ to <code>false</code> and <code>x</code> is set to the
zero value for its type (§
<a
href=
"#The_zero_value"
>
The zero value
</a>
).
zero value for its type (§
<a
href=
"#The_zero_value"
>
The zero value
</a>
).
</p>
</p>
<!---
<p>
<p>
<span class="alert">TODO: Probably in a separate section, communication semantics
<span class="alert">TODO: Probably in a separate section, communication semantics
need to be presented regarding send, receive, select, and goroutines.</span>
need to be presented regarding send, receive, select, and goroutines.</span>
</p>
</p>
--->
<h3
id=
"Method_expressions"
>
Method expressions
</h3>
<h3
id=
"Method_expressions"
>
Method expressions
</h3>
...
@@ -3192,6 +3198,7 @@ int8(^1) // same as int8(-2)
...
@@ -3192,6 +3198,7 @@ int8(^1) // same as int8(-2)
^int8(1) // same as -1 ^ int8(1) = -2
^int8(1) // same as -1 ^ int8(1) = -2
</pre>
</pre>
<!---
<p>
<p>
<span class="alert">
<span class="alert">
TODO: perhaps ^ should be disallowed on non-uints instead of assuming twos complement.
TODO: perhaps ^ should be disallowed on non-uints instead of assuming twos complement.
...
@@ -3199,7 +3206,7 @@ Also it may be possible to make typed constants more like variables, at the cost
...
@@ -3199,7 +3206,7 @@ Also it may be possible to make typed constants more like variables, at the cost
overflow etc. errors being caught.
overflow etc. errors being caught.
</span>
</span>
</p>
</p>
--->
<h3
id=
"Order_of_evaluation"
>
Order of evaluation
</h3>
<h3
id=
"Order_of_evaluation"
>
Order of evaluation
</h3>
...
@@ -3931,6 +3938,7 @@ func complex_f3() (re float, im float) {
...
@@ -3931,6 +3938,7 @@ func complex_f3() (re float, im float) {
</li>
</li>
</ol>
</ol>
<!---
<p>
<p>
<span class="alert">
<span class="alert">
TODO: Define when return is required.<br />
TODO: Define when return is required.<br />
...
@@ -3938,6 +3946,7 @@ TODO: Language about result parameters needs to go into a section on
...
@@ -3938,6 +3946,7 @@ TODO: Language about result parameters needs to go into a section on
function/method invocation<br />
function/method invocation<br />
</span>
</span>
</p>
</p>
--->
<h3
id=
"Break_statements"
>
Break statements
</h3>
<h3
id=
"Break_statements"
>
Break statements
</h3>
...
@@ -4009,7 +4018,9 @@ L:
...
@@ -4009,7 +4018,9 @@ L:
<p>
<p>
is erroneous because the jump to label
<code>
L
</code>
skips
is erroneous because the jump to label
<code>
L
</code>
skips
the creation of
<code>
v
</code>
.
the creation of
<code>
v
</code>
.
<!---
(<span class="alert">TODO: Eliminate in favor of used and not set errors?</span>)
(<span class="alert">TODO: Eliminate in favor of used and not set errors?</span>)
--->
</p>
</p>
<h3
id=
"Fallthrough_statements"
>
Fallthrough statements
</h3>
<h3
id=
"Fallthrough_statements"
>
Fallthrough statements
</h3>
...
...
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