fix crash: Import statements don't abort
This commit is contained in:
parent
a3f094013d
commit
41f8fcb46f
|
|
@ -1203,6 +1203,7 @@ merge(Compressor.prototype, {
|
|||
var n = this.body.length;
|
||||
return n > 0 && aborts(this.body[n - 1]);
|
||||
};
|
||||
def(AST_Import, function(){ return null; });
|
||||
def(AST_BlockStatement, block_aborts);
|
||||
def(AST_SwitchBranch, block_aborts);
|
||||
def(AST_If, function(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user