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 test case for no overload overlap with self-types #17388

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

ilevkivskyi
Copy link
Member

Fixes #14641

I don't think we have a test case for this, and although it is a bit in a grey area (because of x: Any = None), I think we should allow this.

@ilevkivskyi ilevkivskyi merged commit 693e1d8 into python:master Jun 15, 2024
13 checks passed
@ilevkivskyi ilevkivskyi deleted the add-test-ver-self branch June 15, 2024 14:28
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.

Self as return type annotation in overloads raises error
1 participant