fix detecting symbols in use
This commit is contained in:
@@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user