blob: 26c1ed167870559f6658f735e8b104b251bb2837 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
(* TEST
expect;
*)
module Root = struct
type u
and t = private < .. >
end
module Trunk = struct
include Root
type t = A
type u
end
module M: sig
module type s = module type of Trunk
end = struct
module type s = sig
type t = A
type u
end
end
[%%expect {|
module Root : sig type u and t = private < .. > end
module Trunk : sig type t = A type u end
module M : sig module type s = sig type t = A type u end end
|}]
|