diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-11-06 03:23:13 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2017-02-14 17:25:28 +0100 |
commit | b365304d32db443194b7eaadda63c784814f53f1 (patch) | |
tree | 95c09bc42f35a5d49af5aeb16a281105e674a824 /proofs/pfedit.ml | |
parent | b113f9e1ca88514cd9d94dfe90669a27689b7434 (diff) |
Evarconv API using EConstr.
Diffstat (limited to 'proofs/pfedit.ml')
-rw-r--r-- | proofs/pfedit.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/pfedit.ml b/proofs/pfedit.ml index c7f5efd5a..67e216745 100644 --- a/proofs/pfedit.ml +++ b/proofs/pfedit.ml @@ -232,7 +232,7 @@ let solve_by_implicit_tactic env sigma evk = let tac = Proofview.tclTHEN tac (Proofview.tclEXTEND [] (Proofview.tclZERO (CErrors.UserError (None,Pp.str"Proof is not complete."))) []) in (try let c = Evarutil.nf_evars_universes sigma evi.evar_concl in - if Evarutil.has_undefined_evars sigma c then raise Exit; + if Evarutil.has_undefined_evars sigma (EConstr.of_constr c) then raise Exit; let (ans, _, ctx) = build_by_tactic env (Evd.evar_universe_context sigma) c tac in let sigma = Evd.set_universe_context sigma ctx in |