You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
I also think that the 3rd (error) argument of ToWebAssemblyValue can be safely removed, since there is no LinkError to propagate anymore. If such an error propagation is needed in the future, I would also go for an optional third argument.
Ms2ger
added a commit
to Ms2ger/reference-types
that referenced
this issue
Feb 18, 2020
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 whenToInt32
and friends fail.The text was updated successfully, but these errors were encountered: