http://d.puremagic.com/issues/show_bug.cgi?id=3438
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code |accepts-invalid, pull CC| |[email protected] Platform|Other |All Version|2.000 |D2 AssignedTo|[email protected] |[email protected] Summary|constructor with defaulted |struct ctor with defaulted |parameters ignored |parameters should be | |rejected OS/Version|Linux |All --- Comment #4 from Andrej Mitrovic <[email protected]> 2012-12-21 15:52:48 PST --- Changed what was basically an enhancement request into an accepts-invalid bug. If the state of things change we can work on it later (if Walter green-lights default ctors for structs), but for now all forms of default ctors in structs must be rejected by the compiler. https://github.com/D-Programming-Language/dmd/pull/1397 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
