diff options
author | Russ Cox <rsc@golang.org> | 2012-02-21 22:54:07 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-21 22:54:07 -0500 |
commit | e297fb0d02f5577e56d1a60ba7f3c8f515c40fb0 (patch) | |
tree | e0226f878fd3a8f43b83751907e0fd5f3e6c0d45 /test/fixedbugs/bug285.go | |
parent | b9e7921228a1ad91799f579d3b95983651a75cd9 (diff) | |
download | go-e297fb0d02f5577e56d1a60ba7f3c8f515c40fb0.tar.gz |
gc: return of ideal bool
This is a manual undo of CL 5674098.
It does not implement the even less strict spec
that we just agreed on, but it gets us back where
we were at the last weekly.
R=ken2
CC=golang-dev
http://codereview.appspot.com/5683069
Diffstat (limited to 'test/fixedbugs/bug285.go')
-rw-r--r-- | test/fixedbugs/bug285.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixedbugs/bug285.go b/test/fixedbugs/bug285.go index 6b0099b8d..0a8a0f09e 100644 --- a/test/fixedbugs/bug285.go +++ b/test/fixedbugs/bug285.go @@ -20,6 +20,7 @@ func main() { type B bool b := B(false) mb := make(map[B]int) + mb[false] = 42 // this should work: false is assignment compatible with B mb[b] = 42 type Z int |