Skip to content

Commit

Permalink
fixed files form Closure #118
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 614b31b commit 0a7992f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ private void handleObjectLit(NodeTraversal t, Node n) {
child != null;
child = child.getNext()) {
// Maybe STRING, GET, SET
if (child.isQuotedString()) {
continue;
}

// We should never see a mix of numbers and strings.
String name = child.getString();
Expand Down

0 comments on commit 0a7992f

Please sign in to comment.