-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix for Ctype.nondep_type (#1059)
- Loading branch information
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
ocaml/testsuite/tests/typing-signatures/nondep_regression.ml
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,17 @@ | ||
(* TEST | ||
* expect | ||
*) | ||
|
||
type 'a seq = 'a list | ||
|
||
module Make (A : sig type t end) = struct | ||
type t = A.t seq | ||
end | ||
|
||
module H = Make (struct type t end) | ||
|
||
[%%expect{| | ||
type 'a seq = 'a list | ||
module Make : functor (A : sig type t end) -> sig type t = A.t seq end | ||
module H : sig type t 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
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