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

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sun May 21 06:42:50 PDT 2017


On Sunday, 21 May 2017 at 13:08:18 UTC, Adam D. Ruppe wrote:
> foo!(x)!y

I think it's the same as foo!x!y. As for the reason - I think 
because the order is possibly ambiguous or something? You could 
interpret it as either (foo!x)!y or foo!(x!y).



More information about the Digitalmars-d mailing list