[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 12:01:39 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1199





------- Comment #4 from deewiant at gmail.com  2007-07-02 14:01 -------
My point was: why do ""[0] and ""[$] generate an error talking about 0 out of
bounds of [0 .. 43730463654674432] instead of [0 .. 0]? And that number
definitely isn't cast(size_t)-1, it doesn't even fit in a 32-bit integer.


-- 



More information about the Digitalmars-d-bugs mailing list