nixpkgs/pkgs/development/ocaml-modules/elpi/atd_2_10.patch
Vincent Laporte f09f7f1778 ocamlPackages.yojson: 1.7.0 → 2.0.2
ocamlPackages.merlin: 3.4.2 → 3.8.0

ocamlPackages.merlin: 4.5 → 4.6

ocamlPackages.{atd,atdgen}: 2.9.1 → 2.10.0

ocamlPackages.elpi: fix build with atd 2.10.0
2022-08-29 08:10:02 +02:00

14 lines
493 B
Diff

diff --git a/src/elpi_trace_elaborator.ml b/src/elpi_trace_elaborator.ml
index ca13114d..093e7593 100644
--- a/src/elpi_trace_elaborator.ml
+++ b/src/elpi_trace_elaborator.ml
@@ -664,6 +664,6 @@ let main =
let cards = Trace.cards steps ~stack_frames ~aggregated_goal_success ~goal_text ~goal_attempts in
- let ob = Bi_outbuf.create_channel_writer stdout in
+ let ob = Buffer.create 17 in
write_trace ob cards;
- Bi_outbuf.flush_channel_writer ob
+ Buffer.output_buffer stdout ob