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
Conversation
bd1f772
to
70f9faf
Compare
70f9faf
to
276c98f
Compare
@@ -968,7 +968,10 @@ pp.parseAwait = function (node) { | |||
if (this.isLineTerminator()) { | |||
this.unexpected(); | |||
} | |||
node.all = this.eat(tt.star); | |||
node.all = false; |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
Current coverage is
|
LGTM, just remove the node.all |
Ok removed and fixed tests |
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
https://phabricator.babeljs.io/T6688
I think this works?
Ok need to fix up some tests