Fix negate_iife regression #1254
This commit is contained in:
@@ -531,6 +531,8 @@ function OutputStream(options) {
|
||||
});
|
||||
|
||||
PARENS([ AST_Unary, AST_Undefined ], function(output){
|
||||
if (this.expression instanceof AST_Call)
|
||||
return false;
|
||||
var p = output.parent();
|
||||
return p instanceof AST_PropAccess && p.expression === this
|
||||
|| p instanceof AST_Call && p.expression === this;
|
||||
|
||||
Reference in New Issue
Block a user