http://d.puremagic.com/issues/show_bug.cgi?id=8612
Jeremie Pelletier <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Jeremie Pelletier <[email protected]> 2013-09-07 14:39:24 PDT --- A quick workaround is to call a function from the catch block which handles the delegate: void main() { try throw new Exception("catch me"); catch(Exception e) { doSomething(e); auto dg = { throw e; } // this delegate will crash dmd } } void doSomething(Exception e) { auto dg = { throw e; }; // this delegate won't crash dmd } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
