aboutsummaryrefslogtreecommitdiff
path: root/kernel/term.ml
diff options
context:
space:
mode:
authorpuech2011-08-08 08:46:34 +0000
committerpuech2011-08-08 08:46:34 +0000
commit59462251fec623636b3a5396253e38f6d29bf747 (patch)
treec23d7dff6718ce6e2211e719485f284f3bc8dd00 /kernel/term.ml
parentca6b6bfde9a0c5b91a53e9c139140403369ff658 (diff)
Esubst: make types of substitutions & lifts private
Allows to be sure that we apply the smart constructors. Propagate the change to Closure, Reduction, Term, Cbv and Newring git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14386 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/term.ml')
-rw-r--r--kernel/term.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/term.ml b/kernel/term.ml
index 99a0e6bb3b..83c417d954 100644
--- a/kernel/term.ml
+++ b/kernel/term.ml
@@ -787,7 +787,7 @@ let rec exliftn el c = match kind_of_term c with
(* Lifting the binding depth across k bindings *)
let liftn n k =
- match el_liftn (pred k) (el_shft n ELID) with
+ match el_liftn (pred k) (el_shft n el_id) with
| ELID -> (fun c -> c)
| el -> exliftn el