1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:07:56 -07:00

exp/types: add error type to universe

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5327051
This commit is contained in:
Russ Cox 2011-11-01 21:47:33 -04:00
parent 782fd1fc98
commit e67d3c44f7

View File

@ -57,6 +57,7 @@ func init() {
defType("rune") // TODO(gri) should be an alias for int defType("rune") // TODO(gri) should be an alias for int
defType("complex64") defType("complex64")
Complex128 = defType("complex128") Complex128 = defType("complex128")
defType("error")
defType("float32") defType("float32")
Float64 = defType("float64") Float64 = defType("float64")
defType("int8") defType("int8")