aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/pretype_errors.mli
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-12-09 14:51:24 +0100
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-12-11 18:34:04 +0100
commitf37ce408e943b29ab41c979a7f95ee824813397b (patch)
tree5a1a3fe814bf6b6f7c6b5b52fa435705ca9fecfe /pretyping/pretype_errors.mli
parentccc7d1ec570e691a6824d9e6f43665f2eb4a1e3f (diff)
Added a CannotSolveConstraint unification error and made experiments
in reporting the chain of causes when unification fails.
Diffstat (limited to 'pretyping/pretype_errors.mli')
-rw-r--r--pretyping/pretype_errors.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/pretyping/pretype_errors.mli b/pretyping/pretype_errors.mli
index 122240621..741279a51 100644
--- a/pretyping/pretype_errors.mli
+++ b/pretyping/pretype_errors.mli
@@ -23,6 +23,7 @@ type unification_error =
| MetaOccurInBody of existential_key
| InstanceNotSameType of existential_key * env * types * types
| UnifUnivInconsistency of Univ.univ_inconsistency
+ | CannotSolveConstraint of Evd.evar_constraint * unification_error
type position = (Id.t * Locus.hyp_location_flag) option