KEMBAR78
Don't report "function does not return a value" in dynamic functions by msullivan · Pull Request #5683 · python/mypy · GitHub
Skip to content

Conversation

@msullivan
Copy link
Collaborator

Fixes a regression (that causes trouble in internal codebases) introduced in #5663.

Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Thanks, you are faster than me :-)

pass

def lol():
1+'uh'
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add spaces around + (totally up to you).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh actually this should just not be there at all

@msullivan msullivan merged commit 2e2fe30 into master Sep 26, 2018
@msullivan msullivan deleted the fix-none-errors branch September 26, 2018 23:36
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