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 ReferenceError in the wrapNativeSuper helper #8100

Merged
merged 2 commits into from
Jun 2, 2018
Merged

Fix ReferenceError in the wrapNativeSuper helper #8100

merged 2 commits into from
Jun 2, 2018

Conversation

chocolateboy
Copy link
Contributor

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

Fix a ReferenceError caused by a typo (_construct instead of construct) in the external wrapNativeSuper helper. (The typo doesn't usually cause an error in inline helpers because _construct happens to be the default name given to the construct helper function.)

Split off from #8083.

Fix a ReferenceError caused by a typo (`_construct` instead of
`construct`) in the external `wrapNativeSuper` helper. (The typo
doesn't usually cause an error in inline helpers because `_construct`
happens to be the default name given to the `construct` helper
function.)
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/8265/

1 similar comment
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/8265/

@existentialism existentialism added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Jun 2, 2018
@nicolo-ribaudo
Copy link
Member

Thank you!

@nicolo-ribaudo nicolo-ribaudo merged commit 2abd783 into babel:master Jun 2, 2018
@benjamn
Copy link
Contributor

benjamn commented Jun 12, 2018

It would be great to see a 7.0.0-beta.50 release with this fix soon! 🙏 🙌

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 4, 2019
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 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.

Error extending builtin: "ReferenceError: _construct is not defined"
5 participants