KEMBAR78
Don't coerce the result of an ExpressionStmt's Expression by jag426 · Pull Request #7872 · python/mypy · GitHub
Skip to content

Conversation

jag426
Copy link
Contributor

@jag426 jag426 commented Nov 5, 2019

ExpressionStmts had their Expressions' unused results type-checked unnecessarily.

Fixes mypyc/mypyc#489.

Copy link
Collaborator

@msullivan msullivan left a comment

Choose a reason for hiding this comment

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

Woo.

@msullivan msullivan merged commit 6dabd8d into python:master Nov 5, 2019
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.

Don't do casts for values we ignore

2 participants