aboutsummaryrefslogtreecommitdiff
path: root/tactics/tacticals.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2017-12-29 20:20:38 +0100
committerEmilio Jesus Gallego Arias2018-09-26 16:33:48 +0200
commit7628af7af9ff20d2a894673f66c3753e214623f1 (patch)
treebb4c10fea3e44e6949a00d591234cecfc3f345ee /tactics/tacticals.ml
parentf49928874b51458fb67e89618bb350ae2f3529e4 (diff)
[print] Restrict use of "debug" Termops printer.
The functions in `Termops.print_*` are meant to be debug printers, however, they are sometimes used in non-debug code due to a API confusion. We thus wrap such functions into an `Internal` module, improve documentation, and switch users to the right API.
Diffstat (limited to 'tactics/tacticals.ml')
-rw-r--r--tactics/tacticals.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tacticals.ml b/tactics/tacticals.ml
index 878e2b1f01..596feeec8b 100644
--- a/tactics/tacticals.ml
+++ b/tactics/tacticals.ml
@@ -655,7 +655,7 @@ module New = struct
| _ ->
let name_elim =
match EConstr.kind sigma elim with
- | Const _ | Var _ -> str " " ++ print_constr_env (pf_env gl) sigma elim
+ | Const _ | Var _ -> str " " ++ Printer.pr_econstr_env (pf_env gl) sigma elim
| _ -> mt ()
in
user_err ~hdr:"Tacticals.general_elim_then_using"