aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/clenv.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-11-24 18:18:17 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-02-14 17:30:38 +0100
commit05afd04095e35d77ca135bd2c1cb8d303ea2d6a8 (patch)
treeae729d05933776d718905029f0a87722716ec57f /proofs/clenv.ml
parent531590c223af42c07a93142ab0cea470a98964e6 (diff)
Ltac now uses evar-based constrs.
Diffstat (limited to 'proofs/clenv.ml')
-rw-r--r--proofs/clenv.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml
index 393e958d3..7269c61e3 100644
--- a/proofs/clenv.ml
+++ b/proofs/clenv.ml
@@ -575,10 +575,9 @@ let make_clenv_binding env sigma = make_clenv_binding_gen false None env sigma
(* Pretty-print *)
let pr_clenv clenv =
- let inj = EConstr.Unsafe.to_constr in
h 0
- (str"TEMPL: " ++ print_constr (inj clenv.templval.rebus) ++
- str" : " ++ print_constr (inj clenv.templtyp.rebus) ++ fnl () ++
+ (str"TEMPL: " ++ print_constr clenv.templval.rebus ++
+ str" : " ++ print_constr clenv.templtyp.rebus ++ fnl () ++
pr_evar_map (Some 2) clenv.evd)
(****************************************************************)