[Issue 13379] New: Latest dmd fails with recursive template expansion in std.regex
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Aug 26 17:12:09 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=13379
          Issue ID: 13379
           Summary: Latest dmd fails with recursive template expansion in
                    std.regex
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: hsteoh at quickfur.ath.cx
Test case (use Phobos git HEAD to reproduce):
------
void main()
{
    import std.regex : match;
    "".match("");
}
------
Compiler output:
------
/usr/src/d/phobos/std/algorithm.d(7168): Error: template instance
std.algorithm.MinType!(uint, uint) recursive expansion
------
git bisect reveals that the offending commit in dmd is:
9202b529b329ce0087ae976aa8bf1deadd1b62de Distinguish speculative instantiation
from gagged one to elide unnecessary symbol emission
--
    
    
More information about the Digitalmars-d-bugs
mailing list