www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13398] New: std.regex causes recursive expansion of

https://issues.dlang.org/show_bug.cgi?id=13398

          Issue ID: 13398
           Summary: std.regex causes recursive expansion of
                    std.algorithm.MinType
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: john.loughran.colvin gmail.com

void foo(string a, string b)
{
        import std.regex;
        match(a, b);
}

std/algorithm.d(7168): Error: template instance std.algorithm.MinType!(uint,
uint) recursive expansion

tested with dmd git HEAD

--
Aug 29 2014