Closed
Description
Similar to #51222.
async function outerAsyncFun() {
let af = /*END*/async () => {
/*START*/await Promise.resolve(0);
}
}
function* outerGen*() {
/*END*/function* gen() {
/*START*/yield 100;
}
return gen
}
We should probably do nothing in cases like top-level await
, or where await
does not have a direct corresponding async
function, and yield
does not have a direct corresponding generator.