On Tuesday, 9 September 2014 at 18:46:31 UTC, ketmar via Digitalmars-d-learn wrote:
UFCS is not working for nested functions. this is not a bug, it was
designed this way. the same for 'with', i believe.
Apparently it is a bug that UFCS doesn't work with 'with' statement.
https://issues.dlang.org/show_bug.cgi?id=10349

there is rationale. see http://dlang.org/function.html, UFCS section.
Must have missed it before, thanks.

Reply via email to