Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reporting final merge #91

Open
wants to merge 11 commits into
base: 2022
Choose a base branch
from

Conversation

oliviaweng
Copy link

@oliviaweng oliviaweng commented Jun 1, 2022

  • Prettified lambda function, lists, for-loop, and destructuring type check error messages
  • Fixed associated merge conflicts with these features
  • Added extra tests to confirm our prettified error messages are thrown correctly

oliviaweng and others added 11 commits May 29, 2022 10:37
* Assigning a mklambda expression to the wrong Callable type was
  correctly caught at compile time, but the type error message only
  communicated that "callable" type is not assignable to "callable"
  type, which is confusing.
* We now update the type error message to include the callable param and
  return types, e.g., "callable[[int], bool]", for a more informative
  type error message.
* Fixed list type check error API issues
* Added a number of tests to ensure type check error API is now accessed correctly for
  lists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant