Skip to content

Update JS reserved keywords list, clean up scripts, add documentation#6167

Merged
cknitt merged 6 commits intorescript-lang:masterfrom
cknitt:keywords
Apr 16, 2023
Merged

Update JS reserved keywords list, clean up scripts, add documentation#6167
cknitt merged 6 commits intorescript-lang:masterfrom
cknitt:keywords

Conversation

@cknitt
Copy link
Copy Markdown
Member

@cknitt cknitt commented Apr 16, 2023

The compiler sources include a list of reserved JS keywords in jscomp/ext/js_reserved_map.ml which includes all identifiers in global scope (window).

Clean up scripts, update this list and add documentation.

@cknitt cknitt requested a review from cristianoc April 16, 2023 07:44
@cknitt cknitt merged commit 5d948c4 into rescript-lang:master Apr 16, 2023
@cknitt cknitt deleted the keywords branch April 16, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants