]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: diagnose "make([]T, non-integer)" correctly.
authorShenghou Ma <minux.ma@gmail.com>
Sun, 23 Feb 2014 21:31:48 +0000 (16:31 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 23 Feb 2014 21:31:48 +0000 (16:31 -0500)
commite33e47e844cdce5a5dedfd0c1c72e480f12db6f1
tree717fa96d94b76358f25dbe2753a2616d1675791d
parentd4a9bbef51d6b631fa799cc5560294f465273f47
cmd/gc: diagnose "make([]T, non-integer)" correctly.
Fixes #7223.

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