On 2/12/12 10:58 PM, Andrej Mitrovic wrote:
Why does this not work anymore?module test; import std.algorithm; import std.utf : count; void main() { "a".count(); } test.d(8): Error: std.utf.count!(char).count at D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\utf.d(1757) conflicts with std.algorithm.count!("true",string).count at D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(4551) Selective imports used to make these conflicts go away. What changed?
Personally, I certainly wouldn't expect selective imports to resolve conflicts, but what changed is that they were previously implemented using the equivalent of an explicit AliasDeclaration internally, which thus used to resolve the conflict.
David _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
