Skip to content
Browse files

add "final" to the list of keywords (report error with closure compil…

…er, ES6 keyword?)
  • Loading branch information...
1 parent 373de26 commit ee3a073b1064712bdc4dfb9d210e5ef9859be0f2 @ncannasse ncannasse committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 genjs.ml
View
2 genjs.ml
@@ -95,6 +95,8 @@ let kwds =
"import"; "in"; "instanceof"; "interface"; "let"; "new"; "package"; "private"; "protected";
"public"; "return"; "static"; "super"; "switch"; "this"; "throw"; "try"; "typeof"; "var";
"void"; "while"; "with"; "yield";
+ (* reserved by closure compiler *)
+ "final"
];
h

1 comment on commit ee3a073

@utibenkei

Please also add this keyword ”boolean”
(reserved by closure compiler)

Please sign in to comment.
Something went wrong with that request. Please try again.