Skip to content

Conversation

@vigneshshanmugam
Copy link
Member

No description provided.

@@ -0,0 +1,2 @@
let i = 0;
Copy link
Member

Choose a reason for hiding this comment

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

rename file - block-scoped-for ?

@@ -0,0 +1,2 @@
const j = 0;
for (const x = 0; ; ) console.log(j + x);
Copy link
Member

Choose a reason for hiding this comment

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

move this to previous test - as it tests block scoped vars merged to for loop

Copy link
Member Author

Choose a reason for hiding this comment

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

cool

@@ -0,0 +1,6 @@
for (var i = 0; i < 0; i++) {
Copy link
Member

Choose a reason for hiding this comment

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

filename: destructuring-var-lift ?

@boopathi
Copy link
Member

Looks like formatting errors -

$(yarn bin)/jest packages/babel-plugin-merge-sibling-variables -- --update-fixtures

will fix them

@boopathi boopathi merged commit abbfd6e into master Dec 18, 2017
@boopathi boopathi deleted the fixtures-merge-sib-vars branch December 18, 2017 23:08
@boopathi boopathi added the Tag: Internal Pull Request changing project internals - code that is NOT published label Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tag: Internal Pull Request changing project internals - code that is NOT published

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants