www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11090] New: Template recursion causes Segfault

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

           Summary: Template recursion causes Segfault
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: daniel350 bigpond.com



auto func(A, B)(A a, B b) if (is(func!(A, B))) {
    return a + b;
}

void main() {
    func!(int,int);
}


Causes a segfault, assumed from some kind of recursion.

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