fix accounting after conversion to assignment (#2847)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 26 Jan 2018 06:21:11 +0000 (14:21 +0800)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2018 06:21:11 +0000 (14:21 +0800)
commit193612ac67ef269d6b05fdf61c9638a5eebd76f7
tree775406c79a6871980c1aa3a489a5845bfc2f1d85
parent95cfce68eae6173a76e8f01fae08a91f5d8996d2
fix accounting after conversion to assignment (#2847)

Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave.

fixes #2846
lib/compress.js
test/compress/drop-unused.js