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

Remove mypy.messages from the typeops tangle #7400

Merged
merged 2 commits into from
Aug 27, 2019
Merged

Remove mypy.messages from the typeops tangle #7400

merged 2 commits into from
Aug 27, 2019

Conversation

msullivan
Copy link
Collaborator

mypy.applytype needs to be able to report errors, so have it
take an error reporting callback.

mypy.applytype needs to be able to report errors, so have it
take an error reporting callback.
@msullivan msullivan merged commit d2a7f05 into master Aug 27, 2019
@msullivan msullivan deleted the untangle2 branch August 27, 2019 23:11
context=target)
if msg.is_errors():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern is unfortunately used quite often in other contexts (in particular in overloads, see #7367). It would be great to get rid of those (but in case of methods I would probably prefer self.flag rather that nonlocal).

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.

3 participants