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

refactor: remove unecessary checkYieldAwaitInDefaultParams #10936

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Dec 28, 2019

Q                       A
Tests Added + Pass? Yes
License MIT

this.checkYieldAwaitInDefaultParams() is called inside this.parseFunctionParams,

this.checkYieldAwaitInDefaultParams();

therefore it is unnecessary to call it again here.

@JLHwung JLHwung added PR: Internal 🏠 A type of pull request used for our changelog categories pkg: parser labels Dec 28, 2019
@JLHwung JLHwung merged commit 0238244 into babel:master Dec 30, 2019
@JLHwung JLHwung deleted the remove-redundant-checkYieldAwaitInDefaultParams-call branch December 30, 2019 21:12
@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 Mar 31, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2020
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 pkg: parser PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants