diff options
| author | Pierre-Marie Pédrot | 2020-01-28 13:31:51 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-01-28 13:31:51 +0100 |
| commit | b105077dd42e34f19d0849620fec2837e84b4887 (patch) | |
| tree | 217628a17b0d335d8ad453bf7bab34a2b68227fe /vernac | |
| parent | 36c61df9435ce382084ddb097ffe0c7b2e220cbb (diff) | |
| parent | c825bc9caf3abb9610310b79f9420688f06bdf54 (diff) | |
Merge PR #11379: [ocaml] Remove Custom Backtrace module in favor of OCaml's
Reviewed-by: ppedrot
Diffstat (limited to 'vernac')
| -rw-r--r-- | vernac/topfmt.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/topfmt.ml b/vernac/topfmt.ml index 45f40b1258..de02f7ecfb 100644 --- a/vernac/topfmt.ml +++ b/vernac/topfmt.ml @@ -359,7 +359,7 @@ let in_phase ~phase f x = default_phase := op; res with exn -> - let iexn = Backtrace.add_backtrace exn in + let iexn = Exninfo.capture exn in default_phase := op; Util.iraise iexn @@ -415,7 +415,7 @@ let with_output_to_file fname func input = close_out channel; output with reraise -> - let reraise = Backtrace.add_backtrace reraise in + let reraise = Exninfo.capture reraise in std_ft := Util.pi1 old_fmt; err_ft := Util.pi2 old_fmt; deep_ft := Util.pi3 old_fmt; |
