Skip to content

Commit cd6d086

Browse files
committed
fix missing pattern walk
1 parent 231a638 commit cd6d086

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ class Parser extends Tapable {
10051005
}
10061006
} else {
10071007
this.walkExpression(expression.right);
1008+
this.walkPattern(expression.left);
10081009
this.enterPattern(expression.left, (name, decl) => {
10091010
this.scope.renames["$" + name] = undefined;
10101011
});

0 commit comments

Comments
 (0)