drop unused variables
This commit is contained in:
@@ -296,7 +296,8 @@ AST_Label.DEFMETHOD("unmangleable", function(){
|
||||
});
|
||||
|
||||
AST_Symbol.DEFMETHOD("unreferenced", function(){
|
||||
return this.definition().references.length == 0;
|
||||
return this.definition().references.length == 0
|
||||
&& !(this.scope.uses_eval || this.scope.uses_with);
|
||||
});
|
||||
|
||||
AST_Symbol.DEFMETHOD("undeclared", function(){
|
||||
|
||||
Reference in New Issue
Block a user