[Issue 17494] New: Do not execute scope(...) if an Error exception has been thrown
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 11 17:09:46 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17494
Issue ID: 17494
Summary: Do not execute scope(...) if an Error exception has
been thrown
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
Not cleaning up after an Error is thrown is allowed by the D spec. This
enhancement allows much better code to be generated for `nothrow` code when
`scope` is used. It will also not unwind declarations with destructors in
`nothrow` code when Errors are thrown.
It also fixes regression https://issues.dlang.org/show_bug.cgi?id=17493
--
More information about the Digitalmars-d-bugs
mailing list