DIP 1020--Named Parameters--Community Review Round 2

jmh530 john.michael.hall at gmail.com
Tue Sep 10 20:33:01 UTC 2019


On Tuesday, 10 September 2019 at 20:08:38 UTC, jmh530 wrote:
> [snip]

I also don't understand this

void foo(int a) {
}

void foo(int a, @named int b) {
}

[snip]

foo(1); // error: matches both declarations
foo(1, b: 2); // error: matches both declarations




More information about the Digitalmars-d mailing list