Why: error("multiple ! arguments are not allowed");

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sun May 21 06:08:18 PDT 2017


Why is that prohibited? I just wrote

template foo(x) { template foo(y) {}}

and did

foo!(x)!y

and it triggered that error. If I comment that line and use the 
hacked dmd, it seems to work.


So why is that error there?


More information about the Digitalmars-d mailing list