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 0d98e456..66441e80 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -5275,7 +5275,7 @@ merge(Compressor.prototype, {
|| any(this.body, compressor);
});
def(AST_SymbolRef, function(compressor) {
- return !this.is_declared(compressor);
+ return !this.is_declared(compressor) || !can_drop_symbol(this, compressor);
});
def(AST_Template, function(compressor) {
if (any(this.expressions, compressor)) return true;