diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-10-23 01:00:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 01:00:50 +0800 |
commit | 8a713e449f551d89745d9a8105b7cb33e9893214 (patch) | |
tree | bdf1d2585399f6d875c669c95ea85ed872de11be /test/compress | |
parent | 24aa07855bc608f29cca2a58a40af1988256b116 (diff) | |
download | tracifyjs-8a713e449f551d89745d9a8105b7cb33e9893214.tar.gz tracifyjs-8a713e449f551d89745d9a8105b7cb33e9893214.zip |
deduplicate declarations regardless of `toplevel` (#2393)
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/collapse_vars.js | 2 |
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); } |