disable do{...}while(false) optimisation (#1534)
- fails to handle `break` in body fixes #1532
This commit is contained in:
@@ -2132,7 +2132,7 @@ merge(Compressor.prototype, {
|
||||
}
|
||||
} else {
|
||||
// self instanceof AST_Do
|
||||
return self.body;
|
||||
return self;
|
||||
}
|
||||
}
|
||||
if (self instanceof AST_While) {
|
||||
|
||||
Reference in New Issue
Block a user