Skip to content

Commit

Permalink
fix missing pattern walk
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 21, 2017
1 parent 231a638 commit cd6d086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Parser.js
Expand Up @@ -1005,6 +1005,7 @@ class Parser extends Tapable {
}
} else {
this.walkExpression(expression.right);
this.walkPattern(expression.left);
this.enterPattern(expression.left, (name, decl) => {
this.scope.renames["$" + name] = undefined;
});
Expand Down

0 comments on commit cd6d086

Please sign in to comment.