]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: rephrase the invalid indexing operation error message
authorShenghou Ma <minux.ma@gmail.com>
Fri, 14 Feb 2014 02:01:33 +0000 (21:01 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 14 Feb 2014 02:01:33 +0000 (21:01 -0500)
commit656a40254566bb1fae3bfa30448d103d911e04c4
tree3009cbca8f942c33da2e78601bb2290641ad1211
parenta069cf048dcfcd4c657d59b40ff318c8ab09b65c
cmd/gc: rephrase the invalid indexing operation error message
Old:
prog.go:9: invalid operation: this[i] (index of type int)
New:
prog.go:9: invalid operation: this[i] (type int does not support indexing)

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/52540043
src/cmd/gc/typecheck.c