Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Apr 12, 2020
1 parent 995a6be commit 5d8118a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -98,15 +98,15 @@ const privateNameVisitor = {
}

// This class redeclares some private name. We need to process the outer
// environment with access to all the outer private, then we can process
// environment with access to all the outer privates, then we can process
// the inner environment with only the still-visible outer privates.
path.traverse(privateNameNestedVisitor, this);
path.traverse(privateNameVisitor, {
...this,
privateNamesMap: visiblePrivateNames,
});

// We'll eventually this this class node again with the overall Class
// We'll eventually hit this class node again with the overall Class
// Features visitor, which'll process the redeclared privates.
path.skip();
},
Expand Down

0 comments on commit 5d8118a

Please sign in to comment.