[Issue 9273] New: DMD Segfaulting with templated ctors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 5 07:27:20 PST 2013


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

           Summary: DMD Segfaulting with templated ctors
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: admin at dav1d.de


--- Comment #0 from David <admin at dav1d.de> 2013-01-05 07:27:19 PST ---
class NBTFile : TAG_Compound {
}

template _Base_TAG(int id_, DType_) {
this(T)() {
}

}

class TAG {
}


class TAG_Compound {
mixin _Base_TAG!(10, TAG);

}

This segfaults dmd, it's a dustmite reduction the whole code compiled under
2.060 so I guess it's a regression.

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