class Opal::Nodes::ResBodyNode
def compile
def compile push 'if (Opal.rescue($err, ', expr(klasses), ')) {' indent do if lvar push expr(lvar.updated(nil, [*lvar.children, s(:js_tmp, '$err')])) end # Need to ensure we clear the current exception out after the rescue block ends line 'try {' indent do in_resbody do line stmt(rescue_body) end end line '} finally { Opal.pop_exception(); }' end line '}' end