[Issue 11793] New: Out of memory with trivial program: class with own class member instance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 21 15:49:31 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11793

           Summary: Out of memory with trivial program: class with own
                    class member instance
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bdom.pub+deebugz at gmail.com


--- Comment #0 from Bruno Medeiros <bdom.pub+deebugz at gmail.com> 2013-12-21 15:49:29 PST ---
Compiling this program:
---
class Outer {
    int foo;
    Outer outer = new Outer();

}

---
Results in "Error: out of memory" (or stack overflow in other source
variations).
DMD 2.064.2

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


More information about the Digitalmars-d-bugs mailing list