http://d.puremagic.com/issues/show_bug.cgi?id=7049
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |WORKSFORME --- Comment #2 from [email protected] 2013-08-19 20:15:35 PDT --- Seems to be fixed in git HEAD. To prove that it actually works, I expanded the test code a bit: ---------- import std.stdio; int count = 0; @safe void foo() { scope (failure) { count++; } scope (failure) { count++; } throw new Exception("failed"); } void main() { try { foo(); } catch(Exception e) { } writeln(count); } ---------- Output: 2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
