Pretty please: Named arguments
bearophile
bearophileHUGS at lycos.com
Mon Feb 28 10:53:01 PST 2011
Andrei:
> One more thing, order of evaluation should still be left-to-right, not
> in order of arguments. This means the feature cannot be a syntactic
> rewrite (not a big issue, but definitely something to keep in mind).
In this case then I suggest the compiler to just refuse the compilation of that line of code. Better to disallow something than allowing something that breaks one of the (future!) D rules.
Bye,
bearophile
More information about the Digitalmars-d
mailing list