;;; TOOL: wat-desugar ;;; FLAGS: --enable-exceptions --fold-expr (module (except $ex i32) (func (result i32) try $try1 (result i32) nop i32.const 7 catch $ex nop catch_all rethrow $try1 end ) ) (;; STDOUT ;;; (module (except $ex i32) (func (;0;) (result i32) (try $try1 (result i32) (nop) (i32.const 7) (catch $ex (nop)) (catch_all (rethrow $try1)))) (type (;0;) (func (result i32)))) ;;; STDOUT ;;)