aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 3291f167..acc85021 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -3568,6 +3568,7 @@ merge(Compressor.prototype, {
escaped[0].walk(new TreeWalker(function(node) {
if (found) return true;
if (node === ref) return found = true;
+ if (node instanceof AST_Scope) return true;
}));
return found;
default: