From 8874a5916bc43acde325f67a73544a4beb65c781 Mon Sep 17 00:00:00 2001 From: msozeau Date: Sat, 21 Jun 2008 17:10:28 +0000 Subject: Code cleanup in typeclasses, remove dead and duplicated code. Change from named_context to rel_context for class params and fields. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11163 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/typeclasses_errors.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pretyping/typeclasses_errors.mli') diff --git a/pretyping/typeclasses_errors.mli b/pretyping/typeclasses_errors.mli index df196ae4ce..3f0723ad85 100644 --- a/pretyping/typeclasses_errors.mli +++ b/pretyping/typeclasses_errors.mli @@ -29,7 +29,7 @@ type typeclass_error = | UnboundMethod of global_reference * identifier located (* Class name, method *) | NoInstance of identifier located * constr list | UnsatisfiableConstraints of evar_defs * (evar_info * hole_kind) option - | MismatchedContextInstance of contexts * constr_expr list * named_context (* found, expected *) + | MismatchedContextInstance of contexts * constr_expr list * rel_context (* found, expected *) exception TypeClassError of env * typeclass_error @@ -41,4 +41,4 @@ val no_instance : env -> identifier located -> constr list -> 'a val unsatisfiable_constraints : env -> evar_defs -> evar option -> 'a -val mismatched_ctx_inst : env -> contexts -> constr_expr list -> named_context -> 'a +val mismatched_ctx_inst : env -> contexts -> constr_expr list -> rel_context -> 'a -- cgit v1.2.3