Skip to content

Commit

Permalink
Backward compatibility: Out_channel.output_string --> `Stdlib.outpu…
Browse files Browse the repository at this point in the history
…t_string`
  • Loading branch information
lukstafi committed Dec 21, 2023
1 parent c980309 commit 7bfd94d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minidebug_runtime.ml
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ module PrintBox (Log_to : Debug_ch) = struct
| [ (true, b) ] ->
let box = stack_to_tree b in
if !to_html then
Out_channel.output_string debug_ch
output_string debug_ch
@@ PrintBox_html.(to_string ~config:Config.(tree_summary true default) box)
else PrintBox_text.output debug_ch box;
Out_channel.output_string debug_ch "\n";
output_string debug_ch "\n";
[]
(* CFormat.fprintf ppf "@\n%!"; [] *)
| _ -> failwith "ppx_minidebug: close_log must follow an earlier open_log_preamble"
Expand Down

0 comments on commit 7bfd94d

Please sign in to comment.