add isConsequenceExpressionStatement last
This commit is contained in:
@@ -236,9 +236,8 @@ exports.CatchClause = function (node, parent, scope, context, file) {
|
||||
exports.ExpressionStatement = function (node, parent, scope, context, file) {
|
||||
var expr = node.expression;
|
||||
if (expr.type !== "AssignmentExpression") return;
|
||||
if (file.isConsequenceExpressionStatement(node)) return;
|
||||
|
||||
if (!t.isPattern(expr.left)) return;
|
||||
if (file.isConsequenceExpressionStatement(node)) return;
|
||||
|
||||
var nodes = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user