On 8/29/13, Jacob Carlborg <[email protected]> wrote: > UFCS only works for module level functions.
However it does work for local imports (I think this was new in 2.063):
void main()
{
import std.range;
assert([].empty); // ok
}
On 8/29/13, Jacob Carlborg <[email protected]> wrote: > UFCS only works for module level functions.
However it does work for local imports (I think this was new in 2.063):
void main()
{
import std.range;
assert([].empty); // ok
}