Skip to content

scan RHS of dropped assignments#1581

Merged
alexlamsl merged 1 commit intomishoo:masterfrom
alexlamsl:issue-1580
Mar 8, 2017
Merged

scan RHS of dropped assignments#1581
alexlamsl merged 1 commit intomishoo:masterfrom
alexlamsl:issue-1580

Conversation

@alexlamsl
Copy link
Copy Markdown
Collaborator

@alexlamsl alexlamsl commented Mar 8, 2017

Similar case as #1578 but against the missing branch of #1450 instead.

Also fixed this binding issue when dropping assignments.

- similar case as mishoo#1578 but against mishoo#1450 instead
- fix `this` binding in mishoo#1450 as well

closes mishoo#1580
@kzc
Copy link
Copy Markdown
Contributor

kzc commented Mar 8, 2017

Seems you've dropped the while loop and let the optimizer do its job locally and the rest would take care of itself?

LGTM

@alexlamsl
Copy link
Copy Markdown
Collaborator Author

Seems you've dropped the while loop and let the optimizer do its job locally and the rest would take care of itself?

Yes - .transform(tt) should bring this back to this section of code for the matching case.

@alexlamsl alexlamsl merged commit 7e465d4 into mishoo:master Mar 8, 2017
@alexlamsl alexlamsl deleted the issue-1580 branch March 8, 2017 21:22
@alexlamsl
Copy link
Copy Markdown
Collaborator Author

Thanks for the review 👍

@kzc
Copy link
Copy Markdown
Contributor

kzc commented Mar 8, 2017

Yes - .transform(tt) should bring this back to this section of code for the matching case.

You are a wizard of DRY.

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.

2 participants