]> Cypherpunks repositories - gostls13.git/commit
go spec: clarify rules for shifts
authorRobert Griesemer <gri@golang.org>
Mon, 23 May 2011 21:12:42 +0000 (14:12 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 23 May 2011 21:12:42 +0000 (14:12 -0700)
commit32d127823fcd2f9cc790157acbe1781c17ded149
treef5145eb0bfa2f23266b58d681f8d9526cff020b3
parent09dd5bf13bdf6365e364e81f9122b837670de080
go spec: clarify rules for shifts

Note: This is not a spec change.

The spec was not clear on the result type of
constant shift expressions. Made it more
explicit and added additional examples.

Also: Remove paragraph on send expressions (they
are statements, now).

Fixes #1708.

R=rsc, r, iant, r
CC=golang-dev
https://golang.org/cl/4517074
doc/go_spec.html