weasel words about types in shift expressions suggested by rsc

R=rsc
OCL=26220
CL=26220
This commit is contained in:
Rob Pike 2009-03-12 18:40:07 -07:00
parent 6eb54cb05b
commit e20834092f

View file

@ -2426,7 +2426,7 @@ unary_op = "+" | "-" | "!" | "^" | "*" | "&" | "<-" .
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>