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

           Summary: accepts-invalid Array-wise assignment on unallocated
                    array is accepted
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2010-07-27 
11:46:44 PDT ---
The following code should raise an out of bounds error:

import std.stdio;

void main() {
   double[] c;
   c[] = 4;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to