FAQ
Thanks for working on this.



https://codereview.appspot.com/6783054/diff/1002/src/cmd/gc/typecheck.c
File src/cmd/gc/typecheck.c (right):

https://codereview.appspot.com/6783054/diff/1002/src/cmd/gc/typecheck.c#newcode827
src/cmd/gc/typecheck.c:827: yyerror("slice/array index must be
non-negative");
This message disagrees in form with the message at lines 924 and 934.
Could you use that form here?

https://codereview.appspot.com/6783054/diff/1002/src/cmd/gc/typecheck.c#newcode829
src/cmd/gc/typecheck.c:829: yyerror("array index out of bounds");
Same idea.
invalid array index %N (out of bounds for %d-element array)
or something like that

https://codereview.appspot.com/6783054/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 1, '12 at 4:54p
activeNov 1, '12 at 5:45p
posts5
users2
websitegolang.org

2 users in discussion

Daniel Morsing: 3 posts Rsc: 2 posts

People

Translate

site design / logo © 2021 Grokbase