From f3abbc55ef160d1a65d4467bfe9b25b30b965a46 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Sat, 4 Nov 2017 18:58:27 +0100 Subject: [api] Deprecate all legacy uses of Names in core. This will allow to merge back `Names` with `API.Names` --- engine/universes.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/universes.ml') diff --git a/engine/universes.ml b/engine/universes.ml index 7f5bf24b7..0a2045a04 100644 --- a/engine/universes.ml +++ b/engine/universes.ml @@ -161,7 +161,7 @@ let compare_head_gen_proj env equ eqs eqc' m n = | Proj (p, c), App (f, args) | App (f, args), Proj (p, c) -> (match kind_of_term f with - | Const (p', u) when eq_constant (Projection.constant p) p' -> + | Const (p', u) when Constant.equal (Projection.constant p) p' -> let pb = Environ.lookup_projection p env in let npars = pb.Declarations.proj_npars in if Array.length args == npars + 1 then -- cgit v1.2.3