-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
TCAppL
and TCAppR
typechecking stack frames, and remove `TCBi…
…nd{L,R}` (#2220) Towards #1314. - It seems like it could be helpful to report that we were checking the left- or right-hand side of a function application when reporting type errors, to help give context. - On the other hand the "checking the LHS/RHS of a semicolon" never seemed very useful, since it would always come in a big chain and didn't really help localize the error, so I removed it. - I'm open to suggestions for other context we could provide. There is definitely a balance here between providing helpful context and providing too much. For example, should we add something that says "while checking the LHS/RHS of a pair"?
- Loading branch information
Showing
2 changed files
with
50 additions
and
26 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