Skip to content

Commit

Permalink
fixed files form Closure #66
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 67ef950 commit eafc945
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,9 @@ public void visit(NodeTraversal t, Node n, Node parent) {
// Object literal keys are handled with OBJECTLIT
if (!NodeUtil.isObjectLitKey(n, n.getParent())) {
ensureTyped(t, n, STRING_TYPE);
} else {
// Object literal keys are not typeable
typeable = false;
}
break;

Expand Down

0 comments on commit eafc945

Please sign in to comment.