-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better reporting of kinds/types of holes TODO: term-level (empty/none…
…mpty) hole subterm in syn position with a "match" constraint -- App and APP `List {? Maybe ?}` now reports "expected `*`, got `* -> *`" `{? Nat ?} Bool` now reports "expected `? -> ?`, got `*`" Improving the reporting further is left as future work. (For example, `List ({? Nat ?} Bool)` could report "expected `* -> *`" by noting `Bool : *` and `List : * -> *`. However, this is starting to veer into type inference territory, which we have avoided so far.
- Loading branch information
Showing
2 changed files
with
34 additions
and
13 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