diff options
Diffstat (limited to 'library/decls.ml')
-rw-r--r-- | library/decls.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/decls.ml b/library/decls.ml index 35b75dab1..0ceea8b43 100644 --- a/library/decls.ml +++ b/library/decls.ml @@ -18,7 +18,7 @@ open Libnames (** Datas associated to section variables and local definitions *) type variable_data = - Dir_path.t * bool (* opacity *) * Univ.constraints * logical_kind + DirPath.t * bool (* opacity *) * Univ.constraints * logical_kind let vartab = ref (Id.Map.empty : variable_data Id.Map.t) @@ -65,7 +65,7 @@ let initialize_named_context_for_proof () = let last_section_hyps dir = fold_named_context (fun (id,_,_) sec_ids -> - try if Dir_path.equal dir (variable_path id) then id::sec_ids else sec_ids + try if DirPath.equal dir (variable_path id) then id::sec_ids else sec_ids with Not_found -> sec_ids) (Environ.named_context (Global.env())) ~init:[] |