https://d.puremagic.com/issues/show_bug.cgi?id=11574
--- Comment #5 from Shammah Chancellor <shammah.chancel...@gmail.com> 2013-11-25 13:30:08 PST --- Also, see this -- scope(failure) unintentionally hiding an Error! import std.stdio; void someFunc() { scope(failure) { writeln("What?");} // <-- NEVER EXECUTED?! scope(failure) { writeln("Failed in someFunc()"); return; } try{ assert(0, "Hrm?"); } catch(Exception e) { writefln("Exception!"); } } void main() { try { someFunc(); writeln("Yay, someFunc() is nothrow"); } catch(Exception e) { writeln("An exception in main!"); } } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------