On 06/29/2013 02:26 PM, monarch_dodra wrote:

DMD is on to something, because if you replace failure with "exit" or
"success", then it complains with: "Error: continue is not inside a loop".

Hmmm... 'continue' and others are disallowed only for scope(exit) and scope(success):

  http://dlang.org/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."

Ali


Reply via email to