This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type mismatch diagnostic for types in a double negative position (#…
…1344) * Don't swap expected/actual types while unifying * Refactor type inference diagnostics * Clean up diagnostic messages * Ordering should be private * Rename TypeMismatch record to TypeContext * Update variable names * Refactor Diagnostic.withParents * Fix Diagnostic.withParents for InfiniteType * Add doc comment to TypeContext * Update error messages * Add comments to Diagnsotic.withParents * Re-add "type" to message
- Loading branch information
Showing
6 changed files
with
330 additions
and
311 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
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
Oops, something went wrong.