]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix duplicate map key check
authorRuss Cox <rsc@golang.org>
Thu, 15 May 2014 19:34:37 +0000 (15:34 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 15 May 2014 19:34:37 +0000 (15:34 -0400)
commitec38c6f5e324bd550a5d034d36d48f479a8b9b47
tree7f87348e25d1a2ef3a5a36c583d5dae9bdded547
parentfbd091500818c095c34f7a221aa298efeb13fb9c
cmd/gc: fix duplicate map key check

Do not compare nil and true.

Fixes #7996.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/91470043
src/cmd/gc/typecheck.c
test/fixedbugs/issue7996.go [new file with mode: 0644]