Skip to content

Commit

Permalink
fixed files form Closure #129
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent edd50c2 commit f3bab1a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ private void annotateCalls(Node n) {
Node first = n.getFirstChild();

// ignore cast nodes.
while (first.isCast()) {
first = first.getFirstChild();
}

if (!NodeUtil.isGet(first)) {
n.putBooleanProp(Node.FREE_CALL, true);
Expand Down

0 comments on commit f3bab1a

Please sign in to comment.