-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand type aliases in the arguments of RProp
- Loading branch information
1 parent
adc4e02
commit f22e30a
Showing
3 changed files
with
25 additions
and
2 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,12 @@ | ||
-- | Tests that Id is correctly expanded. Before fixing, this test would | ||
-- fail with | ||
-- | ||
-- > lookupTyThing: cannot resolve a LHRLogic name "Id" | ||
-- | ||
module ExpandsDependentPairs where | ||
|
||
{-@ type Id = {v:Int | v >= 0} @-} | ||
|
||
{-@ lemma :: l:Id -> (id::Id, { true }) @-} | ||
lemma :: Int -> (Int, ()) | ||
lemma x = (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