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

Integrated @type into the type checker #519

Merged
merged 20 commits into from
Feb 1, 2021
Merged

Conversation

konnov
Copy link
Collaborator

@konnov konnov commented Jan 31, 2021

This PR addresses the issue #504. It allows the user to write @type: ...; in a comment instead of using Typing!AssumeType and Typing!##. Once this PR is merged, we should get rid of the ## and AssumeType, as they are significantly less convenient to use.

Also, I have branded the new type checker Snowcat, to stop saying "the new type checker". Additionally, the type checker now supports the option --infer-poly to enable inference of polymorphic types.

  • Tests added for any new code
  • Ran make fmt-fix (or had formatting run automatically on all files edited)
  • Documentation added for any new functionality
  • Entry added to UNRELEASED.md for any new functionality

@konnov konnov requested a review from shonfeder January 31, 2021 11:45
@konnov konnov merged commit 2cdcad2 into unstable Feb 1, 2021
@konnov konnov deleted the igor/typeannotations-504 branch February 1, 2021 15:44
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.

2 participants