diff options
author | Russ Cox <rsc@golang.org> | 2011-11-11 16:48:25 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-11-11 16:48:25 -0500 |
commit | 5fc3771b3a052ad8b724d6c5f6d491aa5a4b88b3 (patch) | |
tree | c388949e0e6bb47ab905b13722a9cfff2da8a52a /test/named1.go | |
parent | 90c5070000d1db22409dd5b97b3a3bb777021b03 (diff) | |
download | go-5fc3771b3a052ad8b724d6c5f6d491aa5a4b88b3.tar.gz go-5fc3771b3a052ad8b724d6c5f6d491aa5a4b88b3.zip |
gc: remove m[k] = x, false
R=ken2
CC=golang-dev
https://golang.org/cl/5376076
Diffstat (limited to 'test/named1.go')
-rw-r--r-- | test/named1.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/named1.go b/test/named1.go index 33d07a71c2..fe71df844f 100644 --- a/test/named1.go +++ b/test/named1.go @@ -41,7 +41,6 @@ func main() { asBool(i < j) // ERROR "cannot use.*type bool.*as type Bool" _, b = m[2] // ERROR "cannot .* bool.*type Bool" - m[2] = 1, b // ERROR "cannot use.*type Bool.*as type bool" var inter interface{} _, b = inter.(Map) // ERROR "cannot .* bool.*type Bool" |