aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-11-01 21:47:33 -0400
committerRuss Cox <rsc@golang.org>2011-11-01 21:47:33 -0400
commite67d3c44f702639e0be75ca3e69542eeaf62c498 (patch)
treee56ce8995314b29e376d6a834b9c82bfaef816a2
parent782fd1fc9883c962b1414621e4e177c30499a1bf (diff)
downloadgo-e67d3c44f702639e0be75ca3e69542eeaf62c498.tar.gz
go-e67d3c44f702639e0be75ca3e69542eeaf62c498.zip
exp/types: add error type to universe
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5327051
-rw-r--r--src/pkg/exp/types/universe.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/exp/types/universe.go b/src/pkg/exp/types/universe.go
index f0435966d1..780b82625f 100644
--- a/src/pkg/exp/types/universe.go
+++ b/src/pkg/exp/types/universe.go
@@ -57,6 +57,7 @@ func init() {
defType("rune") // TODO(gri) should be an alias for int
defType("complex64")
Complex128 = defType("complex128")
+ defType("error")
defType("float32")
Float64 = defType("float64")
defType("int8")