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

[red-knot] is_subtype_of-transitivity violation #14925

Open
sharkdp opened this issue Dec 11, 2024 · 0 comments
Open

[red-knot] is_subtype_of-transitivity violation #14925

sharkdp opened this issue Dec 11, 2024 · 0 comments
Labels
red-knot Multi-file analysis & type inference

Comments

@sharkdp
Copy link
Contributor

sharkdp commented Dec 11, 2024

Found by running the property tests on main.

We currently have type[str] <: type and type <: ~None, but not type[str] <: ~None.

@sharkdp sharkdp added the red-knot Multi-file analysis & type inference label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

No branches or pull requests

1 participant