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");
}
---