On 5/19/13, Kenji Hara <[email protected]> wrote: > This behavior is intended change. > > From 2.063, UFCS name lookup finds *most inner* imported name. > > module test; > void map(alias func, T)(T){} // dummy > void main() { > import std.algorithm; > auto r = [1,2,3].map!(a=>a*2); // hit std.algorithm.map instead of > test.map > }
Right, that's a cool feature. I'll add this specific feature to the changelog, and await what to do about class imports. _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
