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 a76bb8f commit 534bf80Copy full SHA for 534bf80
interpreter/jslib/wast.ml
@@ -13,7 +13,7 @@ let () =
13
let bs =
14
match def.Source.it with
15
| Script.Textual (m, cs) -> Encode.encode_with_custom (m, cs)
16
- | Script.Encoded (_, bs) -> bs
+ | Script.Encoded (_, bs) -> bs.Source.it
17
| Script.Quoted (_, _) -> failwith "Unsupported" in
18
let buf = new%js Typed_array.arrayBuffer (String.length bs) in
19
let u8arr = new%js Typed_array.uint8Array_fromBuffer buf in
0 commit comments