correctly count declarations after `hoist_vars` (#2297)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 3 Sep 2017 09:23:31 +0000 (17:23 +0800)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2017 09:23:31 +0000 (17:23 +0800)
commit3f355866cf903c40c2bab2cd841ab2b56a2bacf1
tree40d81e3dabad934313eaa5e88ebcd355ef628c89
parent71d52f147dedfb49bf45bccb46613cd1f46ec286
correctly count declarations after `hoist_vars` (#2297)

fixes #2295
lib/compress.js
test/compress/hoist_vars.js