AA of AAs -- ArrayBoundsError

nobody nobody at mailinator.com
Mon Oct 29 07:47:06 PDT 2007


The following code results in an ArrayBoundsError with my v1.015 
compiler:

   typedef size_t IA;
   typedef size_t IB;
   typedef uint V;

   void main(char[][] args)
   {
     V[IB] [IA] test;
     test[cast(IA) test.length]
       [cast(IB) test[cast(IA) test.length].length] =
     cast(V) (test.length * test[cast(IA) test.length].length);
   }


More information about the Digitalmars-d-bugs mailing list