digitalmars.D.bugs - [Issue 11628] New: nested scope guards go cyclic
- d-bugmail puremagic.com (30/30) Nov 27 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11628
- d-bugmail puremagic.com (8/8) Nov 27 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11628
https://d.puremagic.com/issues/show_bug.cgi?id=11628 Summary: nested scope guards go cyclic Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: jiki red.email.ne.jp Running this program, it goes cyclic and never stops. With -m64, it quickly stops. CODE: import std.stdio; void main() { scope (exit) { assert(false); // triggers the nested scope guard } scope (failure) { writeln("reaches though never seen"); } throw new Exception("throw"); // non-cyclic if it throws an _Error_ } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 27 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11628 I've hit by D2.064.2. But it does not reproduce by Git-head. It might be already FIXED. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 27 2013