Skip to content

Commit

Permalink
Update interpreter/jslib/wast.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg authored Nov 14, 2023
1 parent 2db5785 commit ebd1d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/jslib/wast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let () =
(object%js (_self)

method encode (s : Js.js_string Js.t) : (Typed_array.arrayBuffer Js.t) =
let def = snd @@ Parse.Module.from_string (Js.to_string s) in
let _, def = Parse.Module.from_string (Js.to_string s) in
let bs =
match def.Source.it with
| Script.Textual m -> (Encode.encode m)
Expand Down

0 comments on commit ebd1d7c

Please sign in to comment.