aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/vars.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/vars.ml')
-rw-r--r--kernel/vars.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/vars.ml b/kernel/vars.ml
index 12c1529c8..c7ec69c87 100644
--- a/kernel/vars.ml
+++ b/kernel/vars.ml
@@ -62,7 +62,7 @@ let isMeta c = match Constr.kind c with
let noccur_with_meta n m term =
let rec occur_rec n c = match Constr.kind c with
- | Constr.Rel p -> if n<=p & p<n+m then raise LocalOccur
+ | Constr.Rel p -> if n<=p && p<n+m then raise LocalOccur
| Constr.App(f,cl) ->
(match Constr.kind f with
| Constr.Cast (c,_,_) when isMeta c -> ()