We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f3cad commit 8ce0607Copy full SHA for 8ce0607
interpreter/script/js.ml
@@ -436,7 +436,7 @@ let assert_return ress ts at =
436
[ RefIsNull @@ at;
437
Test (Value.I32 I32Op.Eqz) @@ at;
438
BrIf (0l @@ at) @@ at ]
439
- | RefResult (RefPat {it = HostRef n; _}) ->
+ | RefResult (RefPat {it = (HostRef n | Extern.ExternRef (HostRef n)); _}) ->
440
[ Const (Value.I32 n @@ at) @@ at;
441
Call (hostref_idx @@ at) @@ at;
442
Call (eq_ref_idx @@ at) @@ at;
0 commit comments