aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 3d55ecc1..6709d8e6 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -841,7 +841,7 @@ merge(Compressor.prototype, {
decl.init.forEach(function(init){
var tw = new TreeWalker(function(node){
if (node instanceof AST_SymbolRef
- && node.definition().scope.$self === self.$self) {
+ && !(node instanceof AST_LabelRef)) {
push_uniq(in_use, node.definition());
}
});