From bb89852617bfc8c973ba6746a77d1c2913b720ad Mon Sep 17 00:00:00 2001 From: msozeau Date: Mon, 18 May 2009 16:07:55 +0000 Subject: Minor unification changes: - Primitive setup for firing typeclass resolution on-demand: add a flag to control resolution of remaining evars (e.g. typeclasses) during unification. - Prevent canonical projection resolution when no delta is allowed during unification (fixes incompatibility found in ssreflect). - Correctly check types when the head is an evar _or_ a meta in w_unify. Move [isEvar_or_Meta] to kernel/term.ml, it's used in two places now. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12131 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/recordops.ml | 2 -- 1 file changed, 2 deletions(-) (limited to 'pretyping/recordops.ml') diff --git a/pretyping/recordops.ml b/pretyping/recordops.ml index 79c347cea6..8bf95ecbfb 100644 --- a/pretyping/recordops.ml +++ b/pretyping/recordops.ml @@ -310,8 +310,6 @@ let outCanonicalStructure x = fst (outCanonStruct x) let lookup_canonical_conversion (proj,pat) = List.assoc pat (Refmap.find proj !object_table) -let isEvar_or_Meta c = isEvar c || isMeta c - let is_open_canonical_projection sigma (c,args) = try let l = Refmap.find (global_of_constr c) !object_table in -- cgit v1.2.3