]> Cypherpunks repositories - gostls13.git/commitdiff
exp/types: add rune to universe
authorRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 05:19:09 +0000 (22:19 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 05:19:09 +0000 (22:19 -0700)
R=gri
CC=golang-dev
https://golang.org/cl/5295045

src/pkg/exp/types/universe.go

index 80db127829585f982b5f5e22433e0d1aac071ab6..f0435966d11e9618f6bc5a19a6fffad5ddd1b4e3 100644 (file)
@@ -54,6 +54,7 @@ func init() {
 
        Bool = defType("bool")
        defType("byte") // TODO(gri) should be an alias for uint8
+       defType("rune") // TODO(gri) should be an alias for int
        defType("complex64")
        Complex128 = defType("complex128")
        defType("float32")