From: Rob Pike
Date: Fri, 13 Mar 2009 01:40:07 +0000 (-0700)
Subject: weasel words about types in shift expressions suggested by rsc
X-Git-Tag: weekly.2009-11-06~2031
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e20834092f1887149391c9eda84547f4b04ad2e0;p=gostls13.git
weasel words about types in shift expressions suggested by rsc
R=rsc
OCL=26220
CL=26220
---
diff --git a/doc/go_spec.html b/doc/go_spec.html
index c42c4f04dd..5d8cc777d0 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -2426,7 +2426,7 @@ unary_op = "+" | "-" | "!" | "^" | "*" | "&" | "<-" .
The operand types in binary operations must be equal, with the following exceptions:
- - If one operand has numeric type and the other operand is
+
- 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).