Skip to content

Adds explicit test for overloads with pos-only self, refs #11606 #11608

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

Merged
merged 2 commits into from
Nov 24, 2021
Merged

Adds explicit test for overloads with pos-only self, refs #11606 #11608

merged 2 commits into from
Nov 24, 2021

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Nov 24, 2021

I was not able to find a similar test.
This is an interesting corner-case. I think it is benefitial to have it covered.

In my opinion it works correctly. No further actions are required.

Closes #11606

@hauntsaninja
Copy link
Collaborator

This is interesting, thanks for looking into it!

@hauntsaninja hauntsaninja merged commit 077e820 into python:master Nov 24, 2021
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
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.

Classes break overload checking
2 participants