diff options
author | Russ Cox <rsc@golang.org> | 2012-02-18 21:07:08 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-18 21:07:08 -0500 |
commit | 126d475a4311c5c34f380a11941dbeeac39145fd (patch) | |
tree | aae99136bd4256166cec59f4e8a4d6bd738b5255 /test/named.go | |
parent | ad17a9c0a9e758a584f3d5992bc75fbde9512122 (diff) | |
download | go-126d475a4311c5c34f380a11941dbeeac39145fd.tar.gz go-126d475a4311c5c34f380a11941dbeeac39145fd.zip |
gc: drop ideal bool
R=golang-dev, ken2
CC=golang-dev
https://golang.org/cl/5674098
Diffstat (limited to 'test/named.go')
-rw-r--r-- | test/named.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/named.go b/test/named.go index d0330ab238..9b8e10ba22 100644 --- a/test/named.go +++ b/test/named.go @@ -31,7 +31,6 @@ func asString(String) {} func (Map) M() {} - // These functions check at run time that the default type // (in the absence of any implicit conversion hints) // is the given type. @@ -47,7 +46,7 @@ func isString(x interface{}) { _ = x.(String) } func main() { var ( a Array - b Bool = true + b Bool = Bool(true) c Chan = make(Chan) f Float = 1 i Int = 1 @@ -67,7 +66,6 @@ func main() { isBool(b) asBool(!b) isBool(!b) - asBool(true) asBool(*&b) isBool(*&b) asBool(Bool(true)) |