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

Yuxuan Shui yshuiv7 at gmail.com
Thu Sep 12 11:29:15 UTC 2019


Dumb question: @named parameters are ignored in overload 
resolution, so in this example:

void draw(@named Circle shape);
void draw(@named Rectangle shape);

Is a call to draw:

draw(someShape);

always going to be a compilation error?


More information about the Digitalmars-d mailing list