aboutsummaryrefslogtreecommitdiff
path: root/plugins/ltac/tactic_debug.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-03-08 00:31:06 +0100
committerPierre-Marie Pédrot2020-03-08 00:31:06 +0100
commitdbd3a4c4213b3d56908a8387de93e27aaec501a4 (patch)
tree4c9e68600df547c89a159852205a13f8dd9dfa1b /plugins/ltac/tactic_debug.ml
parent83d15b4d686349da0fbd46ea080ee45368d6a964 (diff)
parentee5c3774806f86caab8e5c3fe45ed19512f49819 (diff)
Merge PR #11578: [exn] Keep information from multiple extra exn handlers
Reviewed-by: ppedrot
Diffstat (limited to 'plugins/ltac/tactic_debug.ml')
-rw-r--r--plugins/ltac/tactic_debug.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ltac/tactic_debug.ml b/plugins/ltac/tactic_debug.ml
index 392f9b2ffd..3512bb936d 100644
--- a/plugins/ltac/tactic_debug.ml
+++ b/plugins/ltac/tactic_debug.ml
@@ -418,7 +418,7 @@ let extract_ltac_trace ?loc trace =
(* We entered a user-defined tactic,
we display the trace with location of the call *)
let msg = hov 0 (explain_ltac_call_trace c tail loc ++ fnl()) in
- (if Loc.finer loc tloc then loc else tloc), Some msg
+ (if Loc.finer loc tloc then loc else tloc), msg
else
(* We entered a primitive tactic, we don't display trace but
report on the finest location *)
@@ -434,7 +434,7 @@ let extract_ltac_trace ?loc trace =
aux best_loc tail
| [] -> best_loc in
aux loc trace in
- best_loc, None
+ best_loc, mt ()
let get_ltac_trace info =
let ltac_trace = Exninfo.get info ltac_trace_info in