[Issue 13501] [REG2.052] Crash with throwing in scope(failure) after throwing in scope(success)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Feb 10 07:34:07 PST 2016
https://issues.dlang.org/show_bug.cgi?id=13501
Mathias Lang <mathias.lang at sociomantic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mathias.lang at sociomantic.co
| |m
--- Comment #3 from Mathias Lang <mathias.lang at sociomantic.com> ---
Is this example valid ? The specs says:
A scope(exit) or scope(success) statement may not exit with a throw, goto,
break, continue, or return; nor may it be entered with a goto.
http://dlang.org/spec/statement.html#ScopeGuardStatement
--
More information about the Digitalmars-d-bugs
mailing list