Skip to content

Fix broken for-in declaration - #711

Merged
Perryvw merged 3 commits into
masterfrom
bugfix/for-in-initializers
Sep 1, 2019
Merged

Fix broken for-in declaration#711
Perryvw merged 3 commits into
masterfrom
bugfix/for-in-initializers

Conversation

@Perryvw

@Perryvw Perryvw commented Aug 28, 2019

Copy link
Copy Markdown
Member

No description provided.

@Perryvw
Perryvw requested review from ark120202 and tomblind August 28, 2019 12:35
Comment thread src/LuaTransformer.ts Outdated
Comment thread src/LuaTransformer.ts Outdated
Comment thread src/LuaTransformer.ts Outdated
Co-Authored-By: ark120202 <ark120202@gmail.com>
Comment thread test/unit/loops.spec.ts
for (x in obj) {
result.push(x);
}
return result;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since objects are compared deeply these 2 tests may be merged to return { x, result }

@Perryvw
Perryvw merged commit cd9f032 into master Sep 1, 2019
@Perryvw
Perryvw deleted the bugfix/for-in-initializers branch September 1, 2019 11:31
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.

3 participants