KEMBAR78
Fix narrow for walrus expressions used in match statements by hauntsaninja · Pull Request #14844 · python/mypy · GitHub
Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

Fixes #14843

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood added topic-pep-572 PEP 572 (walrus operator) topic-match-statement Python 3.10's match statement labels Mar 6, 2023
Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks!

@JukkaL JukkaL merged commit 31f70d7 into python:master Mar 6, 2023
@hauntsaninja hauntsaninja deleted the match-walrus branch March 6, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-match-statement Python 3.10's match statement topic-pep-572 PEP 572 (walrus operator)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Walrus in match expression leads to type not correctly inferred in case expression

3 participants