aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 8df6bbd5..bb355423 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -3982,7 +3982,7 @@ merge(Compressor.prototype, {
do {
scope = compressor.parent(++level);
if (scope instanceof AST_SymbolRef) {
- scope = scope.fixed_value();
+ if (scope.fixed_value() instanceof AST_Scope) return false;
} else if (scope instanceof AST_Catch) {
catches[scope.argname.name] = true;
}