diff options
| -rw-r--r-- | toplevel/errors.ml | 3 | ||||
| -rw-r--r-- | toplevel/vernacentries.ml | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/toplevel/errors.ml b/toplevel/errors.ml index bce23275f4..5b451046c8 100644 --- a/toplevel/errors.ml +++ b/toplevel/errors.ml @@ -54,6 +54,9 @@ let rec explain_exn_default = function | Logic.RefinerError e -> hOV 0 (Himsg.explain_refiner_error e) + | Tacmach.FailError i -> + hOV 0 [< 'sTR"Fail tactic always fails (level "; 'iNT i; 'sTR")." >] + | Stdpp.Exc_located (loc,exc) -> hOV 0 [< if loc = Ast.dummy_loc then [<>] else [< 'sTR"At location "; print_loc loc; 'sTR":"; 'fNL >]; diff --git a/toplevel/vernacentries.ml b/toplevel/vernacentries.ml index 638185682b..d483b1e6aa 100644 --- a/toplevel/vernacentries.ml +++ b/toplevel/vernacentries.ml @@ -1449,7 +1449,7 @@ let _ = in error msg | None -> ()); - solve_nth n (Tacinterp.vernac_interp tcom); + solve_nth n (Tacinterp.interp tcom); print_subgoals(); (* in case a strict subtree was completed, go back to the top of the prooftree *) |
