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 025e84c commit 129f4e8Copy full SHA for 129f4e8
interpreter/jslib/wast.ml
@@ -9,7 +9,7 @@ let () =
9
(object%js (_self)
10
11
method encode (s : Js.js_string Js.t) : (Typed_array.arrayBuffer Js.t) =
12
- let _, def = Parse.Module.from_string (Js.to_string s) in
+ let _, def = Parse.Module.parse_string (Js.to_string s) in
13
let bs =
14
match def.Source.it with
15
| Script.Textual m -> (Encode.encode m)
0 commit comments