aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1447.js
diff options
context:
space:
mode:
authoralexlamsl <alexlamsl@gmail.com>2018-07-01 14:34:42 +0800
committeralexlamsl <alexlamsl@gmail.com>2018-07-01 14:34:42 +0800
commit5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc (patch)
tree12f66c5bbd9b93a5f468cfad7349acea0900df28 /test/compress/issue-1447.js
parent6aa750010f23acdc24078a5d7e66cef009cbf570 (diff)
downloadtracifyjs-5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc.tar.gz
tracifyjs-5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc.zip
fix corner case in `unused`
Diffstat (limited to 'test/compress/issue-1447.js')
-rw-r--r--test/compress/issue-1447.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/compress/issue-1447.js b/test/compress/issue-1447.js
index 0a765685..3c881058 100644
--- a/test/compress/issue-1447.js
+++ b/test/compress/issue-1447.js
@@ -22,17 +22,17 @@ else_with_empty_statement: {
conditional_false_stray_else_in_loop: {
options = {
- evaluate : true,
- comparisons : true,
- booleans : true,
- unused : true,
- loops : true,
- side_effects : true,
- dead_code : true,
- hoist_vars : true,
- join_vars : true,
- if_return : true,
- conditionals : false,
+ booleans: true,
+ comparisons: true,
+ conditionals: false,
+ dead_code: true,
+ evaluate: true,
+ hoist_vars: true,
+ if_return: true,
+ join_vars: true,
+ loops: true,
+ side_effects: true,
+ unused: true,
}
input: {
for (var i = 1; i <= 4; ++i) {