UFCS is not working for nested functions. this is not a bug, it wasApparently it is a bug that UFCS doesn't work with 'with' statement.designed this way. the same for 'with', i believe.
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.