This repository was archived by the owner on Nov 3, 2021. It is now read-only.
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
[js-api] ToWebAssemblyValue signature change #51
Closed
Description
In #8, ToWebAssemblyValue gained an additional error argument; the current spec only passes it in a single call site. It seems like it had a caller that passed LinkError
at the time. Presumably all callers should pass a value here; otherwise the argument should be marked as optional.
Alternatively, the algorithm should always throw a TypeError
; that's what it already throws when ToInt32
and friends fail.
Metadata
Metadata
Assignees
Labels
No labels