@@ -1982,7 +1982,7 @@ Compressor.prototype.compress = function(node) {
|
||||
abort = true;
|
||||
folded = make_node(AST_Binary, candidate, {
|
||||
operator: compound,
|
||||
left: lhs.fixed ? lhs.fixed.to_binary() : lhs,
|
||||
left: lhs.fixed && lhs.definition().fixed ? lhs.fixed.to_binary() : lhs,
|
||||
right: rvalue,
|
||||
});
|
||||
}
|
||||
@@ -2040,7 +2040,7 @@ Compressor.prototype.compress = function(node) {
|
||||
});
|
||||
if (candidate instanceof AST_UnaryPostfix) return make_node(AST_UnaryPrefix, candidate, {
|
||||
operator: candidate.operator,
|
||||
expression: lhs.fixed ? lhs.fixed.to_prefix() : lhs,
|
||||
expression: lhs.fixed && lhs.definition().fixed ? lhs.fixed.to_prefix() : lhs,
|
||||
});
|
||||
if (candidate instanceof AST_VarDef) {
|
||||
var def = candidate.name.definition();
|
||||
|
||||
Reference in New Issue
Block a user