From: Russ Cox Date: Wed, 2 Nov 2011 01:47:33 +0000 (-0400) Subject: exp/types: add error type to universe X-Git-Tag: weekly.2011-11-02~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e67d3c44f702639e0be75ca3e69542eeaf62c498;p=gostls13.git exp/types: add error type to universe R=golang-dev, iant CC=golang-dev https://golang.org/cl/5327051 --- 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")