Summary: Bizarre "conflicts with __anonymous at" error with
                    regex and indirectly imported phobos
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Nick Sabalausky <> 2010-10-07 
01:06:58 PDT ---
Not sure if this is a bug in DMD or Phobos:

module a;
import std.regex;
import b;

void main()
    replace("hello", regex("X"), "Y");
module b;
public import std.string;
public import std.array;

> dmd a.d b.d

a.d(7): Error: std.regex.replace(Range,Engine,String) if (is(Unqual!(Engine) ==
Regex!(Unqual!(typeof(Range.init[0]))))) at
D:\DevTool\dmd\bin\..\src\phobos\std\regex.d(2807) conflicts with __anonymous

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to