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 d450792
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -97,16 +97,16 @@ const privateNameVisitor = {
return;
}

// This class redeclares some private name. We need to process the outer
// environment with access to all the outer private, then we can process
// This class redeclares some private field. We need to process the outer
// 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 d450792

Please sign in to comment.