[Issue 8742] New: Anonymous nested class derived from another nested class makes DMD crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 1 06:29:03 PDT 2012


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

           Summary: Anonymous nested class derived from another nested
                    class makes DMD crash
           Product: D
           Version: D1 & D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: david.eckardt at sociomantic.com


--- Comment #0 from David Eckardt <david.eckardt at sociomantic.com> 2012-10-01 06:29:21 PDT ---
When compiling the following example module, DMD 1.075 or 2.060 crashes with
Segmentation Fault with -version=Crash; it does not without.

---
module crash;

class C
{
    class D { }
}

void main ( )
{
    auto c = new C;

    version(Crash) auto d = c.new class C.D { };
} 
---

-- 
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