aboutsummaryrefslogtreecommitdiff
path: root/pretyping/pretype_errors.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-09-30 14:00:11 +0200
committerPierre-Marie Pédrot2020-09-30 14:00:11 +0200
commitc63f7c8407ae151e61e5490803bb19169ad37a5c (patch)
tree471a0c5d5f9fce14598e84fdf235637314862fce /pretyping/pretype_errors.ml
parent2c802aaf74c83274ae922c59081c01bfc267d31b (diff)
parent772aa6bd5659d466b92ea33c997012414b0f946c (diff)
Merge PR #13032: More precise information when unification fails because of incompatible candidates
Reviewed-by: ppedrot
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 207ffc7b86..1e8441dd8a 100644
--- a/pretyping/pretype_errors.ml
+++ b/pretyping/pretype_errors.ml
@@ -20,6 +20,7 @@ type unification_error =
| NotSameHead
| NoCanonicalStructure
| ConversionFailed of env * constr * constr (* Non convertible closed terms *)
+ | IncompatibleInstances of env * existential * constr * constr
| MetaOccurInBody of Evar.t
| InstanceNotSameType of Evar.t * env * types * types
| UnifUnivInconsistency of Univ.univ_inconsistency