aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/pretype_errors.ml
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.ml
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.ml')
-rw-r--r--pretyping/pretype_errors.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pretyping/pretype_errors.ml b/pretyping/pretype_errors.ml
index 9b5b79284..21604a8fc 100644
--- a/pretyping/pretype_errors.ml
+++ b/pretyping/pretype_errors.ml
@@ -22,6 +22,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