www.digitalmars.com         C & C++   DMDScript  

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


           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

--- Comment #0 from timon.gehr gmx.ch 2012-06-27 10:14:07 PDT ---
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