summaryrefslogtreecommitdiff
path: root/typing/typemod.mli
diff options
context:
space:
mode:
authorNick Barnes <nick@tarides.com>2023-05-02 21:16:12 +0100
committerNick Barnes <nick@tarides.com>2023-05-02 21:16:12 +0100
commitd3a5c923939a1fc03cc14c005d61210d8c3bd546 (patch)
tree5459de2b7b6cbaa1167d18224f1ea5d256e2f3f7 /typing/typemod.mli
parentad111da274b58d82249f92b8c79ee252bf25525b (diff)
parent23dab79a4e42856aa33816b9c79c3d4d79959cb9 (diff)
downloadocaml-d3a5c923939a1fc03cc14c005d61210d8c3bd546.tar.gz
Merge branch 'trunk' into nick-get-copy
Diffstat (limited to 'typing/typemod.mli')
-rw-r--r--typing/typemod.mli5
1 files changed, 3 insertions, 2 deletions
diff --git a/typing/typemod.mli b/typing/typemod.mli
index f0073a8c4c..859c2e9b3d 100644
--- a/typing/typemod.mli
+++ b/typing/typemod.mli
@@ -116,8 +116,9 @@ type error =
| With_changes_module_alias of Longident.t * Ident.t * Path.t
| With_cannot_remove_constrained_type
| Repeated_name of Sig_component_kind.t * string
- | Non_generalizable of type_expr
- | Non_generalizable_module of module_type
+ | Non_generalizable of { vars : type_expr list; expression : type_expr }
+ | Non_generalizable_module of
+ { vars : type_expr list; item : value_description; mty : module_type }
| Implementation_is_required of string
| Interface_not_compiled of string
| Not_allowed_in_functor_body