From 298742dd194ade5acd63fbdc92102e5d7c9c8846 Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Wed, 6 Mar 2024 05:23:49 +0100 Subject: [PATCH] Support ocaml-compiler-libs v0.12.4 As of ocaml-compiler-libs v0.12.4 (required by `repl.ml`), module `Toploop` signature includes this: ```ocaml type input = Stdin | File of string | String of string val use_silently : Format.formatter -> input -> bool ``` This broke the way `use_silently` was used, line 111 (see issue #118) This change fixes this. --- languages/ocaml/repl.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/ocaml/repl.ml b/languages/ocaml/repl.ml index 19ac703..77c92e1 100644 --- a/languages/ocaml/repl.ml +++ b/languages/ocaml/repl.ml @@ -108,7 +108,7 @@ let _ = then Filename.concat Filename.current_dir_name name else name in - use_silently ppf explicit_name + use_silently ppf (String explicit_name) let loop ppf = Clflags.debug := true ;