[Issue 3933] New: Array memory allocation error lacks a line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 11 12:19:15 PST 2010


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

           Summary: Array memory allocation error lacks a line number
           Product: D
           Version: 2.041
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2010-03-11 12:19:14 PST ---
This program:

void main() {
    int[] a;
    a.length -= 1;
}


At runtime the compiler shows the following error message, if possible I'd like
to see a line number too:
Memory allocation failed

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


More information about the Digitalmars-d-bugs mailing list