We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a bug report.
Minimal reproducible example
map(list, [[1]])
Expected behavior
No error message, returns [[1]]
[[1]]
Actual behavior
error: Argument 1 to "map" has incompatible type "Type[List[Any]]"; expected "Callable[[List[int]], List[_T]]"
Versions
$ python --version Python 3.6.2 $ python -m mypy --version mypy 0.570-dev-c25dd085a78047a9d5e0909261e8261506505d35
(Also tested with mypy 0.560)
The text was updated successfully, but these errors were encountered:
Probably related to #6697
Sorry, something went wrong.
Yes, this is essentially a duplicate of #6697
Also, both issues are essentially caused by #1317
No branches or pull requests
This is a bug report.
Minimal reproducible example
Expected behavior
No error message, returns
[[1]]
Actual behavior
Versions
(Also tested with mypy 0.560)
The text was updated successfully, but these errors were encountered: