diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-10-23 22:17:11 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-10-23 22:17:11 +0000 |
commit | ef42739eadeb6ec3fc98b5beaa13bd859de44d15 (patch) | |
tree | d0db75605b1ff04fe13f70f0a02aacbee7465cf0 /checker | |
parent | 5e6145c871eea1e94566b252b4bfc4cd752f42d5 (diff) |
cList.index is now cList.index_f, same for index0
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16921 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker')
-rw-r--r-- | checker/closure.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/closure.ml b/checker/closure.ml index 55c91b93e..38527249c 100644 --- a/checker/closure.ml +++ b/checker/closure.ml @@ -357,7 +357,7 @@ let rec compact_constr (lg, subs as s) c k = match c with Rel i -> if i < k then c,s else - (try Rel (k + lg - List.index (i-k+1) subs), (lg,subs) + (try Rel (k + lg - List.index Int.equal (i-k+1) subs), (lg,subs) with Not_found -> Rel (k+lg), (lg+1, (i-k+1)::subs)) | (Sort _|Var _|Meta _|Ind _|Const _|Construct _) -> c,s | Evar(ev,v) -> |