aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-10-23 01:00:50 +0800
committerGitHub <noreply@github.com>2017-10-23 01:00:50 +0800
commit8a713e449f551d89745d9a8105b7cb33e9893214 (patch)
treebdf1d2585399f6d875c669c95ea85ed872de11be /test/compress
parent24aa07855bc608f29cca2a58a40af1988256b116 (diff)
downloadtracifyjs-8a713e449f551d89745d9a8105b7cb33e9893214.tar.gz
tracifyjs-8a713e449f551d89745d9a8105b7cb33e9893214.zip
deduplicate declarations regardless of `toplevel` (#2393)
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/collapse_vars.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/collapse_vars.js b/test/compress/collapse_vars.js
index 1f702ad7..b5b97d24 100644
--- a/test/compress/collapse_vars.js
+++ b/test/compress/collapse_vars.js
@@ -2051,7 +2051,7 @@ inner_lvalues: {
console.log(null, a, b);
}
expect: {
- var a, b = 10;
+ var b = 10;
var a = (--b || a || 3).toString(), c = --b + -a;
console.log(null, a, b);
}