fix t.buildMatchMemberExpression
This commit is contained in:
@@ -421,7 +421,7 @@ t.buildMatchMemberExpression = function (match) {
|
||||
var i = 0;
|
||||
|
||||
while (search.length) {
|
||||
var node = search.unshift();
|
||||
var node = search.shift();
|
||||
|
||||
if (t.isIdentifier(node)) {
|
||||
// this part doesn't match
|
||||
@@ -436,6 +436,7 @@ t.buildMatchMemberExpression = function (match) {
|
||||
} else {
|
||||
search.push(node.object);
|
||||
search.push(node.property);
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
// we can't deal with this
|
||||
|
||||
Reference in New Issue
Block a user