diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/coqlib.ml | 2 | ||||
| -rw-r--r-- | library/lib.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/coqlib.ml b/library/coqlib.ml index b374ecbca0..82d1ecacb5 100644 --- a/library/coqlib.ml +++ b/library/coqlib.ml @@ -45,7 +45,7 @@ let has_ref s = CString.Map.mem s !table let check_ind_ref s ind = match CString.Map.find s !table with - | GlobRef.IndRef r -> eq_ind r ind + | GlobRef.IndRef r -> Ind.CanOrd.equal r ind | _ -> false | exception Not_found -> false diff --git a/library/lib.ml b/library/lib.ml index 830777003b..d75177aaa9 100644 --- a/library/lib.ml +++ b/library/lib.ml @@ -525,7 +525,7 @@ let init () = let mp_of_global = let open GlobRef in function | VarRef id -> !lib_state.path_prefix.Nametab.obj_mp | ConstRef cst -> Names.Constant.modpath cst - | IndRef ind -> Names.ind_modpath ind + | IndRef ind -> Names.Ind.modpath ind | ConstructRef constr -> Names.constr_modpath constr let rec dp_of_mp = function |
