Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: emit let instead of var #1019

Merged
merged 5 commits into from
Feb 6, 2024
Merged

feat: emit let instead of var #1019

merged 5 commits into from
Feb 6, 2024

Conversation

anmonteiro
Copy link
Member

@anmonteiro anmonteiro commented Jan 5, 2024

This should allow us to remove closures in while / for loops in a subsequent patch.

This needs extensive testing as var and let differ in scope.

This is a port of rescript-lang/rescript#6102

@anmonteiro anmonteiro merged commit ccd38f9 into main Feb 6, 2024
4 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/emit-let branch February 6, 2024 22:05
@anmonteiro anmonteiro mentioned this pull request Apr 5, 2024
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.

1 participant