Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
e2083409
Commit
e2083409
authored
Mar 13, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
weasel words about types in shift expressions suggested by rsc
R=rsc OCL=26220 CL=26220
parent
6eb54cb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
go_spec.html
doc/go_spec.html
+1
-1
No files found.
doc/go_spec.html
View file @
e2083409
...
@@ -2426,7 +2426,7 @@ unary_op = "+" | "-" | "!" | "^" | "*" | "&" | "<-" .
...
@@ -2426,7 +2426,7 @@ unary_op = "+" | "-" | "!" | "^" | "*" | "&" | "<-" .
The operand types in binary operations must be equal, with the following exceptions:
The operand types in binary operations must be equal, with the following exceptions:
</p>
</p>
<ul>
<ul>
<li>
I
f one operand has numeric type and the other operand is
<li>
Except in shift expressios, i
f one operand has numeric type and the other operand is
an ideal number, the ideal number is converted to match the type of
an ideal number, the ideal number is converted to match the type of
the other operand (§Expressions).
</li>
the other operand (§Expressions).
</li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment