[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 21:28:22 PDT 2007


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





------- Comment #8 from deewiant at gmail.com  2007-07-02 23:28 -------
Same as the original:

char c = ""[0];
char d = ""[$];

"dmd asdf" leads to the errors I mentioned. "dmd asdf -inline", "dmd asdf
-release", and "dmd asdf -inline -release" change the ending index in the error
message.


-- 



More information about the Digitalmars-d-bugs mailing list