[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 20:57:06 PDT 2007


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


deewiant at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Comment #6 from deewiant at gmail.com  2007-07-02 22:57 -------
I'm running 1.018 and get:

asdf.d(2): Error: string index 0 is out of bounds [0 .. 43730721352712192]
asdf.d(2): Error: string index 0 is out of bounds [0 .. 43730721352712192]
asdf.d(5): Error: string index 0 is out of bounds [0 .. 43730721352712192]
asdf.d(5): Error: string index 0 is out of bounds [0 .. 43730721352712192]

With -inline or -release thrown, it's 43730772892319744 instead, and with both
thrown it's 43730824431927296.


-- 



More information about the Digitalmars-d-bugs mailing list