Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix createSuper in Babel <7.5.5 #11341

Merged
merged 2 commits into from Apr 2, 2020

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Mar 26, 2020

Q                       A
Fixed Issues? Fixes #11336
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

NOTE: Without the first commit, the second one fails (so it actually tests the fix).

In Babel <7.5.5, addHelper only throws when called for the first time.
This was fixed by babel#10208, but since we are already adding
a workaround for <7.9.0, we may as well fix <7.5.5
@nicolo-ribaudo nicolo-ribaudo added PR: Bug Fix 🐛 A type of pull request used for our changelog categories i: regression labels Mar 26, 2020
@nicolo-ribaudo nicolo-ribaudo added this to the v7.9.5 milestone Mar 28, 2020
@nicolo-ribaudo nicolo-ribaudo removed the request for review from kaicataldo April 2, 2020 15:52
@nicolo-ribaudo nicolo-ribaudo merged commit 2c31587 into babel:master Apr 2, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the create-super-fix-2 branch April 2, 2020 15:52
@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 Jul 3, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_createSuper is not defined
3 participants