]> Cypherpunks repositories - gostls13.git/commit
gc: disallow invalid map keys
authorRuss Cox <rsc@golang.org>
Mon, 19 Sep 2011 17:11:24 +0000 (13:11 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 19 Sep 2011 17:11:24 +0000 (13:11 -0400)
commit7ca406396f33d69fbe922ee9e8d305c61f6d4394
tree5fcfa9d00c43848720013c9445b98c2ff98b3b71
parent48ff4a849c7c532cbdd0cfa4a0f66859967c65a0
gc: disallow invalid map keys

The algtype-based test broke when algtype
got a bit more fine-grained, so replace with
an explicit check for the invalid key types.

R=ken2
CC=golang-dev
https://golang.org/cl/5071041
src/cmd/gc/subr.c
test/map1.go [new file with mode: 0644]