diff options
author | Russ Cox <rsc@golang.org> | 2011-11-01 21:47:33 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-11-01 21:47:33 -0400 |
commit | e67d3c44f702639e0be75ca3e69542eeaf62c498 (patch) | |
tree | e56ce8995314b29e376d6a834b9c82bfaef816a2 | |
parent | 782fd1fc9883c962b1414621e4e177c30499a1bf (diff) | |
download | go-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.go | 1 |
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") |