Skip to content

feat: emit let instead of var#1019

Merged
anmonteiro merged 5 commits intomainfrom
anmonteiro/emit-let
Feb 6, 2024
Merged

feat: emit let instead of var#1019
anmonteiro merged 5 commits intomainfrom
anmonteiro/emit-let

Conversation

@anmonteiro
Copy link
Copy Markdown
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

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