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] Detect functions where the returned values aren't assignable to the annotated return type #16248

Open
MichaReiser opened this issue Feb 19, 2025 · 0 comments
Labels
red-knot Multi-file analysis & type inference

Comments

@MichaReiser
Copy link
Member

Description

From Discord:

There is a much more general issue that we need to enforce that values returned from the body of functions (any function) are assignable to the function's return type @carljm

@MichaReiser MichaReiser added the red-knot Multi-file analysis & type inference label Feb 19, 2025
@MichaReiser MichaReiser added this to the Red Knot Q1 2025 milestone Feb 19, 2025
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