diff options
Diffstat (limited to 'typing/typedtree.ml')
-rw-r--r-- | typing/typedtree.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/typing/typedtree.ml b/typing/typedtree.ml index c271f5706..d2a02a67d 100644 --- a/typing/typedtree.ml +++ b/typing/typedtree.ml @@ -238,9 +238,11 @@ and value_binding = and module_coercion = Tcoerce_none - | Tcoerce_structure of (int * module_coercion) list + | Tcoerce_structure of (int * module_coercion) list * + (Ident.t * int * module_coercion) list | Tcoerce_functor of module_coercion * module_coercion | Tcoerce_primitive of Primitive.description + | Tcoerce_alias of Path.t * module_coercion and module_type = { mty_desc: module_type_desc; @@ -256,6 +258,7 @@ and module_type_desc = | Tmty_functor of Ident.t * string loc * module_type option * module_type | Tmty_with of module_type * (Path.t * Longident.t loc * with_constraint) list | Tmty_typeof of module_expr + | Tmty_alias of Path.t * Longident.t loc and signature = { sig_items : signature_item list; |