aboutsummaryrefslogtreecommitdiff
path: root/tactics/class_tactics.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-09-27 14:11:36 +0200
committerPierre-Marie Pédrot2018-09-27 14:11:36 +0200
commit64a8f3cbb2fa278ed9d7bf2e5567d4e2b9bfa9dc (patch)
tree3171d8632e1dd95072c93b76a9627d4c0363ae96 /tactics/class_tactics.ml
parent523c5e41f78dbd4dfbb60d4d7c78f01a22b30aa2 (diff)
parent7628af7af9ff20d2a894673f66c3753e214623f1 (diff)
Merge PR #6524: [print] Restrict use of "debug" Termops printer.
Diffstat (limited to 'tactics/class_tactics.ml')
-rw-r--r--tactics/class_tactics.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index 3456d13bbe..f3581f17dd 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -693,8 +693,9 @@ module Search = struct
let msg =
match fst ie with
| Pretype_errors.PretypeError (env, evd, Pretype_errors.CannotUnify (x,y,_)) ->
- str"Cannot unify " ++ print_constr_env env evd x ++ str" and " ++
- print_constr_env env evd y
+ str"Cannot unify " ++
+ Printer.pr_econstr_env env evd x ++ str" and " ++
+ Printer.pr_econstr_env env evd y
| ReachedLimitEx -> str "Proof-search reached its limit."
| NoApplicableEx -> str "Proof-search failed."
| e -> CErrors.iprint ie