Skip to content

Commit 2171ae9

Browse files
anmonteirodnolen
authored andcommitted
CLJS-1956: Add missing JS reserved keywords
1 parent c2fbded commit 2171ae9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10558,7 +10558,7 @@ reduces them without incurring seq initialization"
1055810558
^{:private true
1055910559
:jsdoc ["@type {*}"]}
1056010560
js-reserved-arr
10561-
#js ["abstract" "boolean" "break" "byte" "case"
10561+
#js ["arguments" "abstract" "await" "boolean" "break" "byte" "case"
1056210562
"catch" "char" "class" "const" "continue"
1056310563
"debugger" "default" "delete" "do" "double"
1056410564
"else" "enum" "export" "extends" "final"
@@ -10570,7 +10570,7 @@ reduces them without incurring seq initialization"
1057010570
"synchronized" "this" "throw" "throws"
1057110571
"transient" "try" "typeof" "var" "void"
1057210572
"volatile" "while" "with" "yield" "methods"
10573-
"null"])
10573+
"null" "constructor"])
1057410574

1057510575
(def
1057610576
^{:jsdoc ["@type {null|Object}"]}

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
:infer-warning false})
148148

149149
(def js-reserved
150-
#{"arguments" "abstract" "boolean" "break" "byte" "case"
150+
#{"arguments" "abstract" "await" "boolean" "break" "byte" "case"
151151
"catch" "char" "class" "const" "continue"
152152
"debugger" "default" "delete" "do" "double"
153153
"else" "enum" "export" "extends" "final"

0 commit comments

Comments
 (0)