www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9284] New: DMD segfaults with templated ctors in constructor delegation

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg 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: -------
Jan 08 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9284


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-01-08 23:54:42 PST ---
https://github.com/D-Programming-Language/dmd/pull/1451

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 08 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9284



--- Comment #2 from github-bugzilla puremagic.com 2013-01-09 02:02:45 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1c8305dbf70dafb1528b73c317108fb2901eb604
fix Issue 9284 - DMD segfaults with templated ctors in constructor delegation

https://github.com/D-Programming-Language/dmd/commit/a899e6147517f78f6d23064ca764533b789b8579
Merge pull request #1451 from 9rnsr/fix9273

Issue 9273 & 9284 - DMD segfaults with templated ctors

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 09 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9284


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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