Skip to content

Support all for-of assignments and patterns#831

Merged
Perryvw merged 9 commits intoTypeScriptToLua:masterfrom
hazzard993:for-of-dependencies
Feb 27, 2020
Merged

Support all for-of assignments and patterns#831
Perryvw merged 9 commits intoTypeScriptToLua:masterfrom
hazzard993:for-of-dependencies

Conversation

@hazzard993
Copy link
Copy Markdown
Contributor

Fixes #780

Also gives support for all kinds of destructuring assignments and binding patterns inside for-of loops.

for (const { name } of names) {} // now supported
for ({ name } of names) {} // now supported

@Perryvw Perryvw merged commit 50817f8 into TypeScriptToLua:master Feb 27, 2020
@hazzard993 hazzard993 deleted the for-of-dependencies branch February 27, 2020 21:46
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.

Reassigning exported variable using a loop does not update symbol dependencies

3 participants