From e20834092f1887149391c9eda84547f4b04ad2e0 Mon Sep 17 00:00:00 2001
From: Rob Pike
Date: Thu, 12 Mar 2009 18:40:07 -0700
Subject: [PATCH] weasel words about types in shift expressions suggested by
rsc
R=rsc
OCL=26220
CL=26220
---
doc/go_spec.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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).
--
2.48.1