aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-11-09 16:09:57 -0800
committerRob Pike <r@golang.org>2009-11-09 16:09:57 -0800
commit0b4de7aa8a58e61c5cdee7f2d06e018b77efc84a (patch)
treeed361496f3226b75895a37c30c4fba058deb9550
parent9f42ccb7819d7ffee449b26c0c9246c9993072f9 (diff)
downloadgo-0b4de7aa8a58e61c5cdee7f2d06e018b77efc84a.tar.gz
go-0b4de7aa8a58e61c5cdee7f2d06e018b77efc84a.zip
comment out red TODO clauses except for the last one
R=rsc CC=go-dev http://go/go-review/1024037
-rw-r--r--doc/go_spec.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 376046b77d..203f036a82 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1870,9 +1870,11 @@ package, which means that it must begin with a Unicode upper case letter.
math.Sin
</pre>
+<!---
<p>
<span class="alert">TODO: Unify this section with Selectors - it's the same syntax.</span>
</p>
+--->
<h3 id="Composite_literals">Composite literals</h3>
@@ -2223,9 +2225,11 @@ p.M0 // ((*p).T0).M0
</pre>
+<!---
<span class="alert">
TODO: Specify what happens to receivers.
</span>
+--->
<h3 id="Indexes">Indexes</h3>
@@ -2811,7 +2815,7 @@ that is, either a variable, pointer indirection, array or slice indexing
operation,
or a field selector of an addressable struct operand.
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
operator <code>*</code> retrieves the value pointed
to by the operand.
@@ -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>).
</p>
+<!---
<p>
<span class="alert">TODO: Probably in a separate section, communication semantics
need to be presented regarding send, receive, select, and goroutines.</span>
</p>
+--->
<h3 id="Method_expressions">Method expressions</h3>
@@ -3192,6 +3198,7 @@ int8(^1) // same as int8(-2)
^int8(1) // same as -1 ^ int8(1) = -2
</pre>
+<!---
<p>
<span class="alert">
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
overflow etc. errors being caught.
</span>
</p>
-
+--->
<h3 id="Order_of_evaluation">Order of evaluation</h3>
@@ -3931,6 +3938,7 @@ func complex_f3() (re float, im float) {
</li>
</ol>
+<!---
<p>
<span class="alert">
TODO: Define when return is required.<br />
@@ -3938,6 +3946,7 @@ TODO: Language about result parameters needs to go into a section on
function/method invocation<br />
</span>
</p>
+--->
<h3 id="Break_statements">Break statements</h3>
@@ -4009,7 +4018,9 @@ L:
<p>
is erroneous because the jump to label <code>L</code> skips
the creation of <code>v</code>.
+<!---
(<span class="alert">TODO: Eliminate in favor of used and not set errors?</span>)
+--->
</p>
<h3 id="Fallthrough_statements">Fallthrough statements</h3>