https://issues.dlang.org/show_bug.cgi?id=16960
Mathias LANG <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mathias LANG <[email protected]> --- This is UB, according to http://dlang.org/spec/statement.html#ScopeGuardStatement > 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. --
