]> Cypherpunks repositories - gostls13.git/commitdiff
weasel words about types in shift expressions suggested by rsc
authorRob Pike <r@golang.org>
Fri, 13 Mar 2009 01:40:07 +0000 (18:40 -0700)
committerRob Pike <r@golang.org>
Fri, 13 Mar 2009 01:40:07 +0000 (18:40 -0700)
R=rsc
OCL=26220
CL=26220

doc/go_spec.html

index c42c4f04dd3cf9975dad6a8e4482b88a6bc25017..5d8cc777d0e1fc4c245209a0812b83f7738a50a0 100644 (file)
@@ -2426,7 +2426,7 @@ unary_op   = "+" | "-" | "!" | "^" | "*" | "&amp;" | "&lt;-" .
 The operand types in binary operations must be equal, with the following exceptions:
 </p>
 <ul>
-       <li>If one operand has numeric type and the other operand is
+       <li>Except in shift expressios, if one operand has numeric type and the other operand is
          an ideal number, the ideal number is converted to match the type of
          the other operand (§Expressions).</li>