[Issue 6730] New: std.algorithm.splitter conflicts with std.array.splitter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 25 11:11:37 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6730

           Summary: std.algorithm.splitter conflicts with
                    std.array.splitter
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-09-25 11:11:06 PDT ---
A D2 program:

import std.array, std.algorithm;
void main() {
    auto r = splitter("hello how are you");
}


DMD 2.056head gives:

test.d(3): Error: std.algorithm.splitter!(string).splitter at
...\dmd2\src\phobos\std\algorithm.d(2184) conflicts with
std.array.splitter!(immutable(char)).splitter at
...\dmd2\src\phobos\std\array.d(1088)


Is this acceptable?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list