From 8b954b022bf206048f8380878251bd64795da5f9 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Wed, 30 Dec 2020 17:47:00 +0000 Subject: fix corner case with default values (#4484) fixes #4483 --- test/reduce.js | 1 - 1 file changed, 1 deletion(-) (limited to 'test/reduce.js') diff --git a/test/reduce.js b/test/reduce.js index 48030b0f..120868fe 100644 --- a/test/reduce.js +++ b/test/reduce.js @@ -124,7 +124,6 @@ module.exports = function reduce_test(testcase, minify_options, reduce_options) // ignore lvalues if (parent instanceof U.AST_Assign && parent.left === node) return; - if (parent instanceof U.AST_DestructuredArray) return; if (parent instanceof U.AST_DestructuredKeyVal && parent.value === node) return; if (parent instanceof U.AST_Unary && parent.expression === node) switch (parent.operator) { case "++": -- cgit v1.2.3