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

This commit is contained in:
Henry Zhu
2015-12-19 22:47:56 -05:00
parent 2304ce0b4a
commit 7bac3627fe
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
async function bar() {
await* foo();
}

View File

@@ -0,0 +1,4 @@
{
"plugins": ["asyncFunctions"],
"throws": "await* has been removed from the async functions proposal. Use Promise.all() instead. (2:2)"
}