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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from RazvanN <[email protected]> ---
Yes, this is an intended change as per the named arguments dip:
https://github.com/dlang/DIPs/blob/15537f9b36afa48f1c1cd57468e8c77f8f2499dd/DIPs/DIP1030.md
. 

I don't see how this change breaks any existing code. Old code works as it used
to work under the newer compiler versions, whereas new code may be written to
take advantage of named parameters. The situation that was invoked: "In
practice, what we've had is that code that is produced by people after that
change, break build of those that use earlier compilers." is true for any other
compiler addition. If a library writer uses the newest fanciest features, then
it is expected that the users of the said library need to use newer versions of
the compiler. 

> It's a breaking change that I feel we could warn about, since it seems named 
> arguments aren't already there?

How would a warning help here since the code is not going to compile anyway?

I don't really see anything actionable for this bug report.

--

Reply via email to