www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8313] New: stack overflow on recursive ifti evaluation

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

           Summary: stack overflow on recursive ifti evaluation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: timon.gehr gmx.ch



DMD 2.059 crashes due to what appears to be a stack overflow when run on the
following code:

auto bar()(int x){return x;}
auto bar()(int x = bar()){return x;}
static assert(bar(1));

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