Skip to content

Attempt to fix tests on plugin ordering + cleanup#5911

Closed
sarupbanskota wants to merge 80 commits intobabel:plugin-orderingfrom
sarupbanskota:fix/plugin-ordering-failing-tests
Closed

Attempt to fix tests on plugin ordering + cleanup#5911
sarupbanskota wants to merge 80 commits intobabel:plugin-orderingfrom
sarupbanskota:fix/plugin-ordering-failing-tests

Conversation

@sarupbanskota
Copy link
Copy Markdown
Contributor

@sarupbanskota sarupbanskota commented Jul 3, 2017

In this PR

  • I've merged 7.0 into plugin-ordering, and fixed several conflicts
  • you'll find last few commits to be most relevant
  • if you change base to 7.0 instead, you can check out just the relevant sections
  • there are some flow errors, not worrying about it right now

Qantas94Heavy and others added 30 commits May 16, 2017 22:39
The arguments of a function would be unnecessarily copied if there was
a nested function that had a parameter with the same identifier as the
rest parameter for the outer function. This checks the scope of the
parameter is correct before deoptimising.

Fixes: #5656
Refs: #2091
This way, it quickly returns from the conditions. The first nil will
now exit, instead of checking every nil.

This also allows conditionalChaining inside a container to still
operate the container.
This also makes the output use less comparisons for `foo?.()?.bar`
cases. 😁
@mention-bot
Copy link
Copy Markdown

@sarupbanskota, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loganfsmyth, @existentialism and @hzoo to be potential reviewers.

@sarupbanskota sarupbanskota changed the base branch from 7.0 to plugin-ordering July 3, 2017 23:58
@sarupbanskota sarupbanskota changed the title Attempt to fix tests on plugin ordering + cleanup [WIP] Attempt to fix tests on plugin ordering + cleanup Jul 4, 2017
@sarupbanskota sarupbanskota changed the base branch from plugin-ordering to 7.0 July 6, 2017 18:24
@sarupbanskota sarupbanskota changed the base branch from 7.0 to plugin-ordering July 6, 2017 18:24
@sarupbanskota sarupbanskota changed the title [WIP] Attempt to fix tests on plugin ordering + cleanup Attempt to fix tests on plugin ordering + cleanup Jul 6, 2017
@sarupbanskota sarupbanskota mentioned this pull request Jul 6, 2017
7 tasks
@nicolo-ribaudo nicolo-ribaudo deleted the branch babel:plugin-ordering July 20, 2023 13:42
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.