Skip to content

Commit

Permalink
fixed files form Closure #114
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent b37eca0 commit 714c5bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ private void recordAssignment(NodeTraversal t, Node n, Node recordNode) {
} else {
recordDepScope(nameNode, ns);
}
} else {
} else if (!(parent.isCall() && parent.getFirstChild() == n)) {
// The rhs of the assignment is the caller, so it's used by the
// context. Don't associate it w/ the lhs.
// FYI: this fixes only the specific case where the assignment is the
Expand Down

0 comments on commit 714c5bd

Please sign in to comment.