aboutsummaryrefslogtreecommitdiff
path: root/test/reduce.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/reduce.js')
-rw-r--r--test/reduce.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/reduce.js b/test/reduce.js
index cd00d5e9..3f24b7b4 100644
--- a/test/reduce.js
+++ b/test/reduce.js
@@ -667,7 +667,10 @@ function is_timed_out(result) {
function is_statement(node) {
return node instanceof U.AST_Statement
- && !(node instanceof U.AST_Arrow || node instanceof U.AST_AsyncFunction || node instanceof U.AST_Function);
+ && !(node instanceof U.AST_Arrow
+ || node instanceof U.AST_AsyncArrow
+ || node instanceof U.AST_AsyncFunction
+ || node instanceof U.AST_Function);
}
function merge_sequence(array, node) {