fix `reduce_vars` on catch variable (#1794)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 7 Apr 2017 04:32:56 +0000 (12:32 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2017 04:32:56 +0000 (12:32 +0800)
commit281e882d27ace48c5c415f19292e2590dd4473dc
treea8a1a1fdae3a6f30aec01e1fc9c0a58173391ac4
parentcc6aa3e5ac13c0da9f2481181f5b4f11275ca8c8
fix `reduce_vars` on catch variable (#1794)

Improved catch handling in `figure_out_scope()` means special case treatment of IE8 is no longer valid in `reset_opt_flags()`.

Also fixed recursive assignment in variable definition.
lib/compress.js
test/compress/reduce_vars.js