aboutsummaryrefslogtreecommitdiff
path: root/test/compress/switch.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-03-02 00:20:53 +0800
committerGitHub <noreply@github.com>2017-03-02 00:20:53 +0800
commit7aa69117e1a38e4aeead13100ac952ca99dbb07f (patch)
tree6b957de603843f936905ff76caceb22a2e625a4c /test/compress/switch.js
parentbff7ad67bbab6ce0792292fba66d3a6cf8d1836f (diff)
downloadtracifyjs-7aa69117e1a38e4aeead13100ac952ca99dbb07f.tar.gz
tracifyjs-7aa69117e1a38e4aeead13100ac952ca99dbb07f.zip
fix corner cases in `reduce_vars` (#1524)
Avoid variable substitution in the following cases: - use of variable before declaration - declaration within conditional code blocks - declaration within loop body fixes #1518 fixes #1525
Diffstat (limited to 'test/compress/switch.js')
0 files changed, 0 insertions, 0 deletions