From a35a77559f93141a6493f437405370f725ae2fbb Mon Sep 17 00:00:00 2001 From: ppedrot Date: Fri, 3 May 2013 17:57:16 +0000 Subject: Removing a redundant function from Evd. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16465 85f007b7-540e-0410-9357-904b9bb8a0f7 --- proofs/clenv.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proofs') diff --git a/proofs/clenv.ml b/proofs/clenv.ml index 156629c190..bc6da8c347 100644 --- a/proofs/clenv.ml +++ b/proofs/clenv.ml @@ -157,7 +157,7 @@ let mentions clenv mv0 = | Some (b,_) -> b.freemetas | None -> Metaset.empty with Not_found -> Metaset.empty in - meta_exists menrec mlist + Metaset.exists menrec mlist in menrec let error_incompatible_inst clenv mv = @@ -173,7 +173,7 @@ let error_incompatible_inst clenv mv = (* TODO: replace by clenv_unify (mkMeta mv) rhs ? *) let clenv_assign mv rhs clenv = let rhs_fls = mk_freelisted rhs in - if meta_exists (mentions clenv mv) rhs_fls.freemetas then + if Metaset.exists (mentions clenv mv) rhs_fls.freemetas then error "clenv_assign: circularity in unification"; try if meta_defined clenv.evd mv then -- cgit v1.2.3