an AST_If is too a StatementWithBody
This commit is contained in:
@@ -276,7 +276,7 @@ function Compressor(options, false_by_default) {
|
||||
SQUEEZE(AST_If, function(self, compressor){
|
||||
self = self.clone();
|
||||
self.condition = self.condition.squeeze(compressor);
|
||||
self.consequent = self.consequent.squeeze(compressor);
|
||||
self.body = self.body.squeeze(compressor);
|
||||
if (self.alternative)
|
||||
self.alternative = self.alternative.squeeze(compressor);
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user