aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorHugo Herbelin2018-10-09 21:30:55 +0200
committerHugo Herbelin2018-10-30 13:34:11 +0100
commitb3748d72cec999467250216a002d6403093622d0 (patch)
tree873425079f93ba42b64debb9714262e595d99faa /plugins
parent0ac673e562c34245e4e48efc428d808e917be79b (diff)
Generalizing the various evar_map printers in Termops over an environment.
This is a step towards limiting calls to the global environment. Incidentally unify naming evd -> sigma in Termops.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ltac/rewrite.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ltac/rewrite.ml b/plugins/ltac/rewrite.ml
index 9f7669f1d5..8b2721ae4e 100644
--- a/plugins/ltac/rewrite.ml
+++ b/plugins/ltac/rewrite.ml
@@ -1492,7 +1492,7 @@ let cl_rewrite_clause_aux ?(abs=None) strat env avoid sigma concl is_hyp : resul
if not (Evd.is_defined acc ev) then
user_err ~hdr:"rewrite"
(str "Unsolved constraint remaining: " ++ spc () ++
- Termops.pr_evar_info (Evd.find acc ev))
+ Termops.pr_evar_info env acc (Evd.find acc ev))
else Evd.remove acc ev)
cstrs evars'
in