return statements weren't handled for calls to throws, this PR addresses that by updating the AST implementation
the logic for calls to throw is now greatly enhanced because we are now letting swc_ecma_ast handle the traversal of the expressions. For example, we were only handling call_expr before, but now all expressions should be handled: Arrow, CallExpr, Array, etc.
This PR closes #114 .
Summary:
swc_ecma_ast
handle the traversal of the expressions. For example, we were only handlingcall_expr
before, but now all expressions should be handled:Arrow
,CallExpr
,Array
, etc.