diff options
| author | herbelin | 2011-09-26 11:47:10 +0000 |
|---|---|---|
| committer | herbelin | 2011-09-26 11:47:10 +0000 |
| commit | cc0ee62d03e014db8ad3da492c8303f271c186e6 (patch) | |
| tree | 87cf7d3beb9cefcc58bc59af6d176ceee0fc670d /pretyping/unification.ml | |
| parent | 446155d07c89e148ec61bb0c414f4cd8a73311e0 (diff) | |
Generalizing subst_term_occ so that it supports an arbitrary matching
function but also restricting it to closed matching and consequently
renaming it to subst_closed_term_occ.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14498 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/unification.ml')
| -rw-r--r-- | pretyping/unification.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/unification.ml b/pretyping/unification.ml index 4610c06ce5..4a873f1f93 100644 --- a/pretyping/unification.ml +++ b/pretyping/unification.ml @@ -49,7 +49,7 @@ let abstract_scheme env c l lname_typ = are unclear... if occur_meta ta then error "cannot find a type for the generalisation" else *) if occur_meta a then mkLambda_name env (na,ta,t) - else mkLambda_name env (na,ta,subst_term_occ locc a t)) + else mkLambda_name env (na,ta,subst_closed_term_occ locc a t)) c (List.rev l) lname_typ |
