Skip to content

Conversation

@gvanrossum
Copy link
Member

Fixes #2751.

(That assert was added in #2341 to force the type checker to believe
that 'file' is a MypyFile instance, but the rest of the code makes it
clear that it may also be None, in which case the assert fails.)

Fixes #2751.

(That assert was added in #2341 to force the type checker to believe
that 'file' is a MypyFile instance, but the rest of the code makes it
clear that it may also be None, in which case the assert fails.)
@gvanrossum gvanrossum merged commit 50e3fed into master Jan 27, 2017
@gvanrossum gvanrossum deleted the fix-assert branch January 27, 2017 23:48
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