[7.0] Change for-await to use new AST (#5321)

This commit is contained in:
Daniel Tschinder
2017-02-15 23:29:09 +01:00
committed by Henry Zhu
parent ca78da6501
commit 7c62278dcd
6 changed files with 11 additions and 38 deletions

View File

@@ -18,11 +18,11 @@ async function a() {
for ({ a } in {}) {}
for ({ a } of []) {}
async function a() {
for ({ a } of []) {}
for await ({ a } of []) {}
}
for (a in {}) {}
for (a of []) {}
async function a() {
for (a of []) {}
for await (a of []) {}
}