From 129f4e864b79d03bb46c6f1bb62add7fb98f7f29 Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Tue, 14 Nov 2023 13:59:08 +0100 Subject: [PATCH] [interpreter] Fix CI --- interpreter/jslib/wast.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/jslib/wast.ml b/interpreter/jslib/wast.ml index 35c372bfb9..54ea9fd4d3 100644 --- a/interpreter/jslib/wast.ml +++ b/interpreter/jslib/wast.ml @@ -9,7 +9,7 @@ let () = (object%js (_self) method encode (s : Js.js_string Js.t) : (Typed_array.arrayBuffer Js.t) = - let _, def = Parse.Module.from_string (Js.to_string s) in + let _, def = Parse.Module.parse_string (Js.to_string s) in let bs = match def.Source.it with | Script.Textual m -> (Encode.encode m)