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

no error for missing return #12830

Closed
Akuli opened this issue May 20, 2022 · 1 comment
Closed

no error for missing return #12830

Akuli opened this issue May 20, 2022 · 1 comment
Labels
bug mypy got something wrong

Comments

@Akuli
Copy link
Contributor

Akuli commented May 20, 2022

mypy 0.950 with --strict. Please emit an error for this code. It took a while to track down where the None came from...

class Foo:
    def fix_moving_square(self) -> int:
        pass
@Akuli Akuli added the bug mypy got something wrong label May 20, 2022
@AlexWaygood
Copy link
Member

Duplicate of #2350 ://

@AlexWaygood AlexWaygood closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

2 participants