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

John Colvin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #3 from John Colvin <[email protected]> ---
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. Why push the error message down to the user of the struct? Any use case
of the default argument is an error, therefore the default arguement should
itself be an error.

--

Reply via email to