[Issue 8768] New: DMD segfaults if templated ctor is inherited

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 6 08:34:11 PDT 2012


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

           Summary: DMD segfaults if templated ctor is inherited
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: admin at dav1d.de


--- Comment #0 from David <admin at dav1d.de> 2012-10-06 08:22:15 PDT ---
class Bar {    
    this(T)(string s, T x) {}
}


class Main : Bar {
    this(string s) {}

    //this()(string s) {} // this version compiles    
}


Note: this also happens with GDC and LDC

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