aboutsummaryrefslogtreecommitdiff
path: root/pretyping/pretype_errors.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-10-12 15:40:31 +0200
committerGaëtan Gilbert2020-10-12 15:40:31 +0200
commit34e1aeef7718dd3042ef22cd1ded9d9eb65cfd87 (patch)
tree49226ece6375dcd398b3d77307d481e1113fc2a6 /pretyping/pretype_errors.ml
parent9324cc58c4f12de6f03fd88acc405c2e6c93dbdb (diff)
Catch more errors in Unification.abstract_list_all
This improves the error message on the example for #13171, however we may question whether there should be an error at all.
Diffstat (limited to 'pretyping/pretype_errors.ml')
-rw-r--r--pretyping/pretype_errors.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/pretype_errors.ml b/pretyping/pretype_errors.ml
index 1e8441dd8a..1dddc5622d 100644
--- a/pretyping/pretype_errors.ml
+++ b/pretyping/pretype_errors.ml
@@ -48,7 +48,7 @@ type pretype_error =
| CannotUnifyBindingType of constr * constr
| CannotGeneralize of constr
| NoOccurrenceFound of constr * Id.t option
- | CannotFindWellTypedAbstraction of constr * constr list * (env * type_error) option
+ | CannotFindWellTypedAbstraction of constr * constr list * (env * pretype_error) option
| WrongAbstractionType of Name.t * constr * types * types
| AbstractionOverMeta of Name.t * Name.t
| NonLinearUnification of Name.t * constr