Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
This commit is contained in:
@@ -247,7 +247,7 @@ let awaitVisitor = {
|
||||
},
|
||||
|
||||
AwaitExpression: function(path) {
|
||||
// Convert await and await* expressions to yield expressions.
|
||||
// Convert await expressions to yield expressions.
|
||||
let argument = path.node.argument;
|
||||
|
||||
// Transforming `await x` to `yield regeneratorRuntime.awrap(x)`
|
||||
|
||||
Reference in New Issue
Block a user