Fix yield expression transform (#9076)
This commit is contained in:
@@ -10,3 +10,7 @@ function* asdf() {
|
||||
function* a(b) {
|
||||
(yield xhr({ url: "views/test.html" })).data;
|
||||
}
|
||||
|
||||
(async function* () {
|
||||
await (yield 1);
|
||||
});
|
||||
|
||||
@@ -11,4 +11,8 @@ function* a(b) {
|
||||
(yield xhr({
|
||||
url: "views/test.html"
|
||||
})).data;
|
||||
}
|
||||
}
|
||||
|
||||
(async function* () {
|
||||
await (yield 1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user