-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dMatchUpSAKWithDecl: Fix treatment of invisible foralls without corre…
…sponding @-binders After this patch, `dMatchUpSAKWithDecl` is now able to handle a standalone kind signature with an invisible `forall` without a corresponding `@`-binder, as seen in the example below: ```hs type D :: forall (a :: Type). Type data D ``` While I was in town, I did some code cleanup in `dMatchUpSAKWithDecl` to make sure that all of the various error conditions are checked more thoroughly, documenting what parts of the code rely on which preconditions more precisely. I also applied the same treatment to `matchUpSAKWithDecl`. Fixes #228.
- Loading branch information
1 parent
42fc13a
commit df957ef
Showing
3 changed files
with
118 additions
and
62 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
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