aboutsummaryrefslogtreecommitdiff
path: root/test/compress/drop-unused.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-05-10 01:22:44 +0800
committerGitHub <noreply@github.com>2019-05-10 01:22:44 +0800
commit5476cb8f05d0e7d402d583ef726e743451555c10 (patch)
tree41a45da197ce1c52387d7bf738ebed552814751b /test/compress/drop-unused.js
parent6a30e1d6bed66512d33dbb83adc954b43fe2823e (diff)
downloadtracifyjs-5476cb8f05d0e7d402d583ef726e743451555c10.tar.gz
tracifyjs-5476cb8f05d0e7d402d583ef726e743451555c10.zip
fix corner case in `inline` (#3401)
fixes #3400
Diffstat (limited to 'test/compress/drop-unused.js')
-rw-r--r--test/compress/drop-unused.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/compress/drop-unused.js b/test/compress/drop-unused.js
index 9286532b..0869749d 100644
--- a/test/compress/drop-unused.js
+++ b/test/compress/drop-unused.js
@@ -797,6 +797,7 @@ assign_chain: {
issue_1583: {
options = {
keep_fargs: true,
+ passes: 2,
reduce_funcs: true,
reduce_vars: true,
unused: true,
@@ -1144,6 +1145,7 @@ var_catch_toplevel: {
options = {
conditionals: true,
negate_iife: true,
+ passes: 2,
reduce_funcs: true,
reduce_vars: true,
side_effects: true,