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

Add a tiny bit more special-casing for sum #8231

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Add a tiny bit more special-casing for sum #8231

merged 1 commit into from
Jul 2, 2022

Conversation

AlexWaygood
Copy link
Member

Fixes #8230

@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2022

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

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.

sum(List[Literal[0,1]]) is inferred as Literal[0,1] while it should be int
2 participants