[Issue 24241] Uncaught Default argument error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 13 14:30:34 UTC 2023


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

--- Comment #6 from ponce <aliloko at gmail.com> ---
By spec:
https://dlang.org/spec/function.html#function-default-args


> Default parameters are resolved and semantically checked in the context of the function declaration.

and later

> If the default value for a parameter is given, all following parameters must also have default values.


Pretty much a bug then?

--


More information about the Digitalmars-d-bugs mailing list