fix catch symbol mangling (#1734)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 30 Mar 2017 18:57:47 +0000 (02:57 +0800)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2017 18:57:47 +0000 (02:57 +0800)
commitc595b84032b3083b87a976c8387010bf6074ad93
tree7b4b6df422d94e852de672532d4ef9cb8acad8b6
parent7cb1adf455f8ab440e1971ae41265c1f7f9a806a
fix catch symbol mangling (#1734)

Only need to look up the immediate non-block/catch scope for the same-name special case.

fixes #1733
lib/scope.js
test/compress/issue-1733.js [new file with mode: 0644]