On Tue, 09 Sep 2014 17:58:14 +0000
Danyal Zia via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
wrote:

> Case # 1: When the functions for UFCS are defined inside main 
> scope
UFCS is not working for nested functions. this is not a bug, it was
designed this way. the same for 'with', i believe.

> oversights/bugs? Or is their any rationale behind the decision to 
> not implement UFCS for them?
there is rationale. see http://dlang.org/function.html, UFCS section.

Attachment: signature.asc
Description: PGP signature

Reply via email to