Make dur a property?
Adam D. Ruppe
destructionator at gmail.com
Wed Jan 23 10:40:02 PST 2013
On Wednesday, 23 January 2013 at 18:24:22 UTC, Johannes Pfau
wrote:
> This sounds OK, but you can still run into the callable issue
> if a normal function returns a callable.
I don't think so because delegates require the parens to call
anyway, and so do opCall objects (without the parens, it is just
a reference to it).
> Probably add a rule that if a normal function returns a
> callable, calling it without parentheses is illegal.
That's not a bad idea.
More information about the Digitalmars-d
mailing list