https://d.puremagic.com/issues/show_bug.cgi?id=11553

           Summary: dmd segfault with recursive template
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from John Colvin <[email protected]> 2013-11-19 
12:39:23 GMT ---
An example that is clearly wrong code, but segfaults the compiler on
Scope::push

template A(alias T)
{
    template A()
    {
    alias A = T!();
    }
}
alias B() = A!(.B);

static if(A!B){}


I have similar but correct code that triggers the same fault, I'll add it when
I've minimised it properly.

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

Reply via email to