[Issue 24334] parameter name is ignored in invocation of struct constructor with default values
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 12 12:22:06 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24334
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
> and quite shocking for a mature language
Named parameters are not mature, support began to be added in the April release
last year. They were not mentioned in any changelogs and should have been
behind a preview switch*. But the spec was updated, it should perhaps have a
warning about stability.
* https://forum.dlang.org/post/bynneksajyfyadwndsbm@forum.dlang.org
--
More information about the Digitalmars-d-bugs
mailing list