http://d.puremagic.com/issues/show_bug.cgi?id=10186
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Kenji Hara <[email protected]> 2013-05-27 15:44:56 PDT --- (In reply to comment #1) > https://github.com/D-Programming-Language/dmd/pull/2087 The fix is incomplete. struct S { @disable this(); this(int i) {} } class C { S s; // move definition before the ctor this() { s = S(1); } } void main() { auto c = new C; // line 16 } test.d(16): Error: default construction is disabled for type C -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
