Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix if_return & dce ifelse..return within loops #266

Merged
merged 1 commit into from
Nov 15, 2016
Merged

Conversation

@boopathi boopathi added the Tag: Bug Fix Pull Request fixes a bug label Nov 13, 2016
}, babelOpts)).code.trim();
}

function transformWithSimplify(code) {
Copy link
Member Author

@boopathi boopathi Nov 13, 2016

Choose a reason for hiding this comment

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

I guess this is not necessary. Will remove it.

Will keep it and add more tests. since this covers one more optimization from simplify.

Edit: ^ DONE

} catch (e) {
doOtherThings();
}
doThings();
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know why this happened.

@boopathi
Copy link
Member Author

Failing test: regexp-constructors.

@boopathi boopathi force-pushed the if-return-0 branch 2 times, most recently from 52ac43c to 06495b8 Compare November 14, 2016 21:58
+ (Close #265)
+ (Close #257)

Fix lint

Add more tests specific to bug fix

Fix dce - test case
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Tag: Bug Fix Pull Request fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants