From 85c509a0fada387d3af96add3dac6a7c702b5d01 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 2 Oct 2012 15:58:00 +0000 Subject: Remove some more "open" and dead code thanks to OCaml4 warnings git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15844 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/typeclasses.ml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pretyping/typeclasses.ml') diff --git a/pretyping/typeclasses.ml b/pretyping/typeclasses.ml index 426197af29..2749538c07 100644 --- a/pretyping/typeclasses.ml +++ b/pretyping/typeclasses.ml @@ -44,7 +44,6 @@ let solve_instanciation_problem = ref (fun _ _ _ -> assert false) let resolve_one_typeclass env evm t = !solve_instanciation_problem env evm t -type rels = constr list type direction = Forward | Backward (* This module defines type-classes *) @@ -327,11 +326,6 @@ let classify_instance (action, inst) = if is_local inst then Dispose else Substitute (action, inst) -let load_instance (_, (action, inst) as ai) = - cache_instance ai; - if action = AddInstance then - add_instance_hint (constr_of_global inst.is_impl) (is_local inst) inst.is_pri - let instance_input : instance_action * instance -> obj = declare_object { (default_object "type classes instances state") with -- cgit v1.2.3