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

--- Comment #8 from RazvanN <[email protected]> ---
(In reply to ponce from comment #6)
> 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?

The spec needs to be updated.

--

Reply via email to