-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: on "type mismatch" errors, expose differences in functions and …
…pi types Example: Normally subtype notation pretty prints as `{ x // x > 0 }`, but now the difference in domains is exposed: ``` example : {x : Nat // x > 0} := (sorry : {x : Int // x > 0}) /- error: type mismatch sorry has type { x : Int // x > 0 } : Type but is expected to have type { x : Nat // x > 0 } : Type -/ ```
- Loading branch information
Showing
3 changed files
with
98 additions
and
3 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