aboutsummaryrefslogtreecommitdiff
path: root/kernel/modops.mli
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-02 12:55:21 +0100
committerGaëtan Gilbert2018-11-16 15:09:52 +0100
commit14c5b4bb8a9c5f62081594d2beaca274eaa0b8f3 (patch)
treea8093604c95ccd1081aedab2de45d01920af1334 /kernel/modops.mli
parent778213b89d893b55e572fc1813c7209d647ed6b0 (diff)
Print full binders in subtyping incompatible polymorphism error.
Close #8891
Diffstat (limited to 'kernel/modops.mli')
-rw-r--r--kernel/modops.mli3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/modops.mli b/kernel/modops.mli
index 8e7e618fcd..0acd09fb12 100644
--- a/kernel/modops.mli
+++ b/kernel/modops.mli
@@ -106,10 +106,9 @@ type signature_mismatch_error =
| RecordFieldExpected of bool
| RecordProjectionsExpected of Name.t list
| NotEqualInductiveAliases
- | IncompatibleInstances
| IncompatibleUniverses of Univ.univ_inconsistency
| IncompatiblePolymorphism of env * types * types
- | IncompatibleConstraints of Univ.AUContext.t
+ | IncompatibleConstraints of { got : Univ.AUContext.t; expect : Univ.AUContext.t }
type module_typing_error =
| SignatureMismatch of