Skip to content

Spec: AsyncFunctionStart does not accept closure argument #24

Closed
@js-choi

Description

@js-choi

Step 4 of the specification currently says:

Perform AsyncFunctionStart(promiseCapability, fromAsyncClosure).

This is an error. AsyncFunctionStart, which in turn calls AsyncBlockStart, expects its second argument to be a Parse Node.

We might want first to call CreateBuiltinFunction on fromAsyncClosure or something.

This issue was discovered by Aditi Singh of Igalia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions