[dmd-beta] D2 2.058 beta 3

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Feb 12 13:58:26 PST 2012


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?


More information about the dmd-beta mailing list