On Tuesday, 24 January 2017 at 13:11:41 UTC, ixid wrote:
This code:T tFunc(alias F, T)(T n) { n.F; return n; } Produces this error:Error: no property 'F' for type 'int[]' (or whatever type I use).
I believe UFCS is supposed to only work with top-level functions. I don't remember the rationale behind the decision.