Skip to content

Commit 534bf80

Browse files
committed
Fix CI
1 parent a76bb8f commit 534bf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/jslib/wast.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let () =
1313
let bs =
1414
match def.Source.it with
1515
| Script.Textual (m, cs) -> Encode.encode_with_custom (m, cs)
16-
| Script.Encoded (_, bs) -> bs
16+
| Script.Encoded (_, bs) -> bs.Source.it
1717
| Script.Quoted (_, _) -> failwith "Unsupported" in
1818
let buf = new%js Typed_array.arrayBuffer (String.length bs) in
1919
let u8arr = new%js Typed_array.uint8Array_fromBuffer buf in

0 commit comments

Comments
 (0)