aboutsummaryrefslogtreecommitdiff
path: root/tactics/hints.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-11-26 02:12:40 +0100
committerPierre-Marie Pédrot2017-02-14 17:30:43 +0100
commitc8c8ccdaaffefdbd3d78c844552a08bcb7b4f915 (patch)
treef57eaac2d0c3cee82b172556eca53f16e0f0a900 /tactics/hints.ml
parent01849481fbabc3a3fa6c483e703996b01e37fca5 (diff)
Evar-normalizing functions now act on EConstrs.
Diffstat (limited to 'tactics/hints.ml')
-rw-r--r--tactics/hints.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml
index 851e9f01fb..ef97b0b330 100644
--- a/tactics/hints.ml
+++ b/tactics/hints.ml
@@ -1200,7 +1200,8 @@ let prepare_hint check (poly,local) env init (sigma,c) =
It is actually a bit stupid to generalize over evars since the first
thing make_resolves will do is to re-instantiate the products *)
let sigma, subst = Evd.nf_univ_variables sigma in
- let c = Evarutil.nf_evar sigma (EConstr.Unsafe.to_constr c) in
+ let c = Evarutil.nf_evar sigma c in
+ let c = EConstr.Unsafe.to_constr c in
let c = CVars.subst_univs_constr subst c in
let c = EConstr.of_constr c in
let c = drop_extra_implicit_args sigma c in