http://d.puremagic.com/issues/show_bug.cgi?id=8458
Summary: scope(exit) enters infinite loop (DMD 2.059) Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: aldac...@gmail.com --- Comment #0 from Mike Parker <aldac...@gmail.com> 2012-07-28 09:52:10 PDT --- ##################################### void doSomething() { throw new Exception("doSomething failed"); } void term() { Object o; auto s = o.toString(); } void main() { scope(exit) term(); doSomething(); } ##################################### Results in the following message infinitely printed to the console: ##################################### Bypasses object.Exception@issue.d(3) === Bypassed === object.Exception@issue.d(3): doSomething failed ---------------- 40BF20 40BDAB 4025B0 4025EA 40220B 41197D ---------------- object.Error: Access Violation ---------------- 40BF20 40BDAB 4020AA^C ##################################### Comment out the exception in doSomething and the infinite loop disappears. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------