From d7f050a73e2cf7d890c3711c78f60627da01ea9d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 9 Dec 2011 00:11:43 -0500 Subject: [PATCH] spec: rune is now an alias for int32 R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5467048 --- doc/go_spec.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 673b36d3e01..c7a1521c74a 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