You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
no errors or warnings (since is instance(lambda x: x**2, FunctionType) evaluates to True).
Actual Behavior
mypy_bug.py:4: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", target has type "FunctionType")
Found 1 error in 1 file (checked 1 source file)
Your Environment
Mypy version used: 0.812
Mypy command-line flags: None
Mypy configuration options from mypy.ini (and other config files): None
Python version used: Python 3.9.1
Operating system and version: OSX
The text was updated successfully, but these errors were encountered:
Bug Report
Very likely related to #8869 and #9934
To Reproduce
(Write your steps here:)
run mypy against this file
Expected Behavior
no errors or warnings (since
is instance(lambda x: x**2, FunctionType)
evaluates toTrue
).Actual Behavior
Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: