[Issue 15500] 'default construction is disabled for type' even though one should be available with default arg

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jan 5 03:05:13 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15500

--- Comment #4 from Martin Nowak <code at dawg.eu> ---
(In reply to John Colvin from comment #3)
> Am I missing something? I assumed this would just be a straightforward
> "structs cannot have a 0-arg constructor, even by using default arguments",
> regardless of use.

It is build that way, only a warning for now, but something went wrong and now
there is an additional error on usage.

--


More information about the Digitalmars-d-bugs mailing list