Thread overview
[Issue 7209] New: Stack overflow on explicitly typed enum circular dependency
Jan 03, 2012
timon.gehr@gmx.ch
Jan 03, 2012
timon.gehr@gmx.ch
Oct 31, 2012
timon.gehr@gmx.ch
January 03, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7209

           Summary: Stack overflow on explicitly typed enum circular
                    dependency
           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-01-03 01:12:11 PST ---
The following code causes a stack overflow in DMD 2.057: enum int a=b,b=a;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 03, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7209



--- Comment #1 from timon.gehr@gmx.ch 2012-01-03 13:26:27 PST ---
Shorter instance:
enum int a=a;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7209


timon.gehr@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #2 from timon.gehr@gmx.ch 2012-10-31 09:16:48 PDT ---
*** Issue 8610 has been marked as a duplicate of this issue. ***

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