aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/evarsolve.mli
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/evarsolve.mli')
-rw-r--r--pretyping/evarsolve.mli7
1 files changed, 5 insertions, 2 deletions
diff --git a/pretyping/evarsolve.mli b/pretyping/evarsolve.mli
index e34332c9b..3e769e02d 100644
--- a/pretyping/evarsolve.mli
+++ b/pretyping/evarsolve.mli
@@ -54,5 +54,8 @@ val is_unification_pattern : env * int -> evar_map -> constr -> constr list ->
val solve_pattern_eqn : env -> constr list -> constr -> constr
-val check_evar_instance : evar_map -> existential_key -> constr -> conv_fun ->
- evar_map
+exception IllTypedInstance of env * types * types
+
+(* May raise IllTypedInstance if types are not convertible *)
+val check_evar_instance :
+ evar_map -> existential_key -> constr -> conv_fun -> evar_map