[Issue 9284] New: DMD segfaults with templated ctors in constructor delegation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 8 23:31:16 PST 2013


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

           Summary: DMD segfaults with templated ctors in constructor
                    delegation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-08 23:31:15 PST ---
The root cause is similar to bug9273, but not same.

---
class C {
    this()(string) {
        this(10);
        // delegating to a constructor which not exists.
    }
}
void main() {
    new C("hello");
}
---

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