diff options
author | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-06-11 13:47:21 +0000 |
---|---|---|
committer | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-06-11 13:47:21 +0000 |
commit | 547e7ac53d556c1a8036334301c1a707f22b0230 (patch) | |
tree | 0f74a70ea995113a003769f927b2503d7f25391b /pretyping/typeclasses_errors.mli | |
parent | 6862c553f9a411d7d98e1b47fbf6fecba7f1cbcb (diff) |
Optionally (and by default) split typeclasses evars into connected
components and resolving them separately, reporting more precise failures.
Improve error messages.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11105 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/typeclasses_errors.mli')
-rw-r--r-- | pretyping/typeclasses_errors.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/typeclasses_errors.mli b/pretyping/typeclasses_errors.mli index d93a354ec..df196ae4c 100644 --- a/pretyping/typeclasses_errors.mli +++ b/pretyping/typeclasses_errors.mli @@ -28,7 +28,7 @@ type typeclass_error = | NotAClass of constr | UnboundMethod of global_reference * identifier located (* Class name, method *) | NoInstance of identifier located * constr list - | UnsatisfiableConstraints of evar_defs + | UnsatisfiableConstraints of evar_defs * (evar_info * hole_kind) option | MismatchedContextInstance of contexts * constr_expr list * named_context (* found, expected *) exception TypeClassError of env * typeclass_error @@ -39,6 +39,6 @@ val unbound_method : env -> global_reference -> identifier located -> 'a val no_instance : env -> identifier located -> constr list -> 'a -val unsatisfiable_constraints : env -> evar_defs -> 'a +val unsatisfiable_constraints : env -> evar_defs -> evar option -> 'a val mismatched_ctx_inst : env -> contexts -> constr_expr list -> named_context -> 'a |