[Issue 1199] Strange error messages when indexing empty arrays or strings at compile time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 2 13:20:18 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1199
------- Comment #5 from bugzilla at digitalmars.com 2007-07-02 15:20 -------
For the last 2 cases, I get:
test2.d(2): Error: string index 0 is out of bounds [0 .. 0]
test2.d(2): Error: string index 0 is out of bounds [0 .. 0]
test2.d(5): Error: string index 0 is out of bounds [0 .. 0]
test2.d(5): Error: string index 0 is out of bounds [0 .. 0]
which, while redundant, is correct.
--
More information about the Digitalmars-d-bugs
mailing list