diff --git a/tools/toplevel_expect/toplevel_expect_test.ml-default b/tools/toplevel_expect/toplevel_expect_test.ml-default index 702e512a96..303a969fe5 100644 --- a/tools/toplevel_expect/toplevel_expect_test.ml-default +++ b/tools/toplevel_expect/toplevel_expect_test.ml-default @@ -279,6 +279,7 @@ let eval_expect_file mapper fname ~file_contents = List.fold_left phrases ~init:true ~f:(fun acc phrase -> acc && try + Location.reset (); exec_phrase ppf phrase with exn -> Location.report_exception ppf exn;