-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10385 from Octachron/6985_more
#6985 extended: ghost row types should stay hidden
- Loading branch information
Showing
3 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 | ||
|}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters