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

Remove await* from babel-generator, add parsing error to babylon - (fixes T6688) #3190

Merged
merged 2 commits into from Dec 23, 2015

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Dec 20, 2015

https://phabricator.babeljs.io/T6688

I think this works?

Ok need to fix up some tests

@@ -968,7 +968,10 @@ pp.parseAwait = function (node) {
if (this.isLineTerminator()) {
this.unexpected();
}
node.all = this.eat(tt.star);
node.all = false;
Copy link
Member Author

Choose a reason for hiding this comment

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

Can remove this and then fixup the tests (since otherwise it's node.all being undefined)

Copy link
Member

Choose a reason for hiding this comment

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

yeah, I don't see any use for it.

@codecov-io
Copy link

Current coverage is 84.78%

Merging #3190 into master will decrease coverage by -0.32% as of 0037cf6

@@            master   #3190   diff @@
======================================
  Files          215     215       
  Stmts        15605   15624    +19
  Branches      3334    3339     +5
  Methods          0       0       
======================================
- Hit          13281   13247    -34
- Partial        677     722    +45
- Missed        1647    1655     +8

Review entire Coverage Diff as of 0037cf6

Powered by Codecov. Updated on successful CI builds.

@amasad
Copy link
Member

amasad commented Dec 23, 2015

LGTM, just remove the node.all

@hzoo
Copy link
Member Author

hzoo commented Dec 23, 2015

Ok removed and fixed tests

amasad added a commit that referenced this pull request Dec 23, 2015
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
@amasad amasad merged commit 959021d into babel:master Dec 23, 2015
@hzoo hzoo deleted the remove-await-star branch February 25, 2017 17:29
JacopKane pushed a commit to JacopKane/babel that referenced this pull request Jan 11, 2018
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants