Bug 9284 – DMD segfaults with templated ctors in constructor delegation

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-08T23:31:00Z
Last change time
2013-01-09T03:40:21Z
Keywords
ice, pull
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-01-08T23:31:15Z
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"); } ---
Comment #1 by k.hara.pg — 2013-01-08T23:54:42Z
Comment #2 by github-bugzilla — 2013-01-09T02:02:45Z
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