-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
d8fc787
commit 7344d43
Showing
4 changed files
with
17 additions
and
8 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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
module Bug181 | ||
|
||
(* These work *) | ||
(* This works *) | ||
type t1 (t:Type) = t | ||
type t2 (a:Type) ('p:a->Type) = a | ||
|
||
(* This doesn't work *) | ||
(* This doesn't work -- now it does *) | ||
type t2' (a:Type) (p:a->Type) = a |
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,10 @@ | ||
module Bug209_EDITED | ||
|
||
val foo : #t:Type -> x:t -> Lemma (x = x) | ||
let foo (#t:Type) x = () | ||
|
||
val foo2 : t:Type -> x:t -> Lemma (x = x) | ||
let foo2 (t:Type) x = () | ||
|
||
val foo3 : x:'a -> Lemma (x = x) | ||
let foo3 'a x = () |
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