Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/expect/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ppxlib
ppxlib.metaquot
ppxlib.traverse
ppxlib.astlib
findlib.top
ppxlib_ast
;; We don't actually use findlib.dynload, however it is a
Expand Down
3 changes: 2 additions & 1 deletion test/expect/expect_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ let main () =
try
let phr = apply_rewriters phr in
if !Clflags.dump_source then
Format.fprintf ppf "%a@?" Pprintast.top_phrase phr;
Format.fprintf ppf "%a@?" Ppxlib.Pprintast.top_phrase
(Ppxlib.Selected_ast.Of_ocaml.copy_toplevel_phrase phr);
ignore (Toploop.execute_phrase true ppf phr : bool)
with exn -> Location.report_exception ppf exn));
Format.fprintf ppf "@?|}]@.");
Expand Down