RESOLVED FIXED212774
AsyncGenerator should await "return" completions
https://bugs.webkit.org/show_bug.cgi?id=212774
Summary AsyncGenerator should await "return" completions
Alexey Shvayka
Reported 2020-06-04 13:17:51 PDT
AsyncGenerator should await "return" completions
Attachments
Patch (8.72 KB, patch)
2020-06-04 13:19 PDT, Alexey Shvayka
no flags
Patch (8.67 KB, patch)
2020-06-05 09:32 PDT, Alexey Shvayka
no flags
Patch (9.45 KB, patch)
2020-06-11 09:15 PDT, Alexey Shvayka
no flags
Alexey Shvayka
Comment 1 2020-06-04 13:19:52 PDT
Alexey Shvayka
Comment 2 2020-06-05 09:32:28 PDT
Created attachment 401162 [details] Patch Rebase patch.
Yusuke Suzuki
Comment 3 2020-06-08 09:09:39 PDT
Comment on attachment 401162 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401162&action=review > Source/JavaScriptCore/ChangeLog:9 > + This change implements step 8 of AsyncGeneratorYield [1] and step 7.c.iii.1 > + of yield* runtime semantics [2], aligning JSC with V8 and SpiderMonkey. Can you explain more? The pointed spec text is not so clear to this change.
Alexey Shvayka
Comment 4 2020-06-11 09:15:44 PDT
Created attachment 401651 [details] Patch Add detailed explanation to ChangeLog.
Ross Kirsling
Comment 5 2020-06-12 15:10:27 PDT
Comment on attachment 401651 [details] Patch LGTM, now that I took the time to wrap my head around it. :)
EWS
Comment 6 2020-06-12 15:13:23 PDT
Committed r262979: <https://trac.webkit.org/changeset/262979> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401651 [details].
Radar WebKit Bug Importer
Comment 7 2020-06-12 15:14:17 PDT
Alexey Shvayka
Comment 8 2020-06-12 15:18:28 PDT
(In reply to Ross Kirsling from comment #5) > Comment on attachment 401651 [details] > Patch > > LGTM, now that I took the time to wrap my head around it. :) This one is quite tricky: I've made a few unsuccessful attempts of adding Awaits here and there before discovering the hook at step 8. Thank you, Ross!
Note You need to log in before you can comment on or make changes to this bug.