DIP 1030--Named Arguments--Community Review Round 1 Feedback
Basile B.
b2.temp at gmx.com
Thu Feb 6 11:41:38 UTC 2020
On Thursday, 6 February 2020 at 11:29:59 UTC, Basile B. wrote:
> On Thursday, 6 February 2020 at 06:09:36 UTC, Mike Parker wrote:
>> This is the feedback thread for the first round of Community
>> Review of DIP 1030, "Named Arguments".
>
> What are the semantics on functions without named parameters ?
> They automaticaly create identifiers IIRC so can we expect this
> to work
>
> ---
> void foo(int, float);
>
> foo(__parameter1: 0, __parameter2: 0.0f); ?
> ---
>
> or would this be illegal ?
>
> Need spec.
I'de be in favor of this position: This should not work because
the unknown name is specific to the compiler implementation.
More information about the Digitalmars-d
mailing list