diff options
| author | Matthieu Sozeau | 2014-08-21 10:11:16 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2014-08-22 10:00:32 +0200 |
| commit | a67cc6941434124465f20b14a1256f2ede31a60e (patch) | |
| tree | 644d5d8ada7e23525303ddd9e96117cdf3a8ae50 /pretyping/pretype_errors.mli | |
| parent | 1fbcea38dc9d995f7c6786b543675ba27970642e (diff) | |
Move UnsatisfiableConstraints to a pretype error.
Diffstat (limited to 'pretyping/pretype_errors.mli')
| -rw-r--r-- | pretyping/pretype_errors.mli | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pretyping/pretype_errors.mli b/pretyping/pretype_errors.mli index e816463e7a..cc1443162c 100644 --- a/pretyping/pretype_errors.mli +++ b/pretyping/pretype_errors.mli @@ -52,6 +52,9 @@ type pretype_error = | NotProduct of constr | TypingError of type_error | CannotUnifyOccurrences of subterm_unification_error + | UnsatisfiableConstraints of + (existential_key * Evar_kinds.t) option * Evar.Set.t option + (** unresolvable evar, connex component *) exception PretypeError of env * Evd.evar_map * pretype_error @@ -134,3 +137,11 @@ val error_not_product_loc : (** {6 Error in conversion from AST to glob_constr } *) val error_var_not_found_loc : Loc.t -> Id.t -> 'b + +(** {6 Typeclass errors } *) + +val unsatisfiable_constraints : env -> Evd.evar_map -> Evd.evar option -> + Evar.Set.t option -> 'a + +val unsatisfiable_exception : exn -> bool + |
