8000 Let overload item have a wider return type than implementation by JukkaL · Pull Request #12435 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Let overload item have a wider return type than implementation #12435

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 3 commits into from
Mar 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test case
  • Loading branch information
JukkaL committed Mar 23, 2022
commit a46b4a22a1f5b1c0ca092c77807e743c41d956e0
1 change: 1 addition & 0 deletions test-data/unit/fine-grained.test
Original file line number Diff line number Diff line change
Expand Up @@ -2084,6 +2084,7 @@ a.py:5: error: "list" expects 1 type argument, but 2 given
==

[case testPreviousErrorInOverloadedFunction]
# flags: --strict-optional
import a
[file a.py]
from typing import overload
Expand Down
0