digitalmars.D.bugs - [Issue 9233] New: compiler infinite recursion on recursive mixin
- d-bugmail puremagic.com (29/29) Dec 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9233
- d-bugmail puremagic.com (13/13) Dec 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9233
- d-bugmail puremagic.com (7/11) Dec 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9233
http://d.puremagic.com/issues/show_bug.cgi?id=9233 Summary: compiler infinite recursion on recursive mixin Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: luka8088 owave.net The following code causes dmd compiler to infinitely allocate new memory with high cpu load, so I suspect a infinite recursion in the compiler. ---------- module program; mixin template ParentMix () { mixin template ChildMix (alias PMix) {} } class A { mixin ParentMix pmix; } mixin A.pmix.ChildMix!(A.pmix); void main () {} ---------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9233 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE The root problem is same as bug 9026, and it is already fixed. Then, infinitely allocation and high cpu load do not occur with git head. *** This issue has been marked as a duplicate of issue 9026 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9233The root problem is same as bug 9026, and it is already fixed. Then, infinitely allocation and high cpu load do not occur with git head. *** This issue has been marked as a duplicate of issue 9026 ***Finally this issue will have been fixed in 2.061. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2012