[Webkit-unassigned] [Bug 156147] [JSC] implement async functions proposal
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 1 09:24:24 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156147
--- Comment #67 from Yusuke Suzuki <utatane.tea at gmail.com> ---
Comment on attachment 277702
--> https://bugs.webkit.org/attachment.cgi?id=277702
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=277702&action=review
>> Source/JavaScriptCore/builtins/AsyncFunctionPrototype.js:30
>> + let value = @undefined;
>
> Let's insert
>
> if (typeof state !== 'number')
> throw new @TypeError("|this| should be an async function");
>
> test here.
Ah, I misunderstood. Here, we can ensure that this `generator` is always a generator.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160501/b5c717a8/attachment.html>
More information about the webkit-unassigned
mailing list