From: Russ Cox Date: Fri, 9 Dec 2011 05:11:43 +0000 (-0500) Subject: spec: rune is now an alias for int32 X-Git-Tag: weekly.2011-12-14~123 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d7f050a73e2cf7d890c3711c78f60627da01ea9d;p=gostls13.git spec: rune is now an alias for int32 R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5467048 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 673b36d3e0..c7a1521c74 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -695,7 +695,7 @@ complex64 the set of all complex numbers with float32 real and imaginary parts complex128 the set of all complex numbers with float64 real and imaginary parts byte alias for uint8 -rune alias for int (will change to int32 in the future) +rune alias for int32

@@ -716,8 +716,7 @@ uintptr an unsigned integer large enough to store the uninterpreted bits of a p

To avoid portability issues all numeric types are distinct except byte, which is an alias for uint8, and -rune, which is an alias for int (to become -int32 in a later version of Go). +rune, which is an alias for int32. Conversions are required when different numeric types are mixed in an expression or assignment. For instance, int32 and int