(🐞) Call to function decorated with a Callable
causes inner function to fail to infer type of variable
#8900
Labels
bug
mypy got something wrong
It appears that the order of the function declarations affects the result(:trollface:):
I have determined that this only happens when the
deco
is aCallable
, when it is a function there is no error:playground
The text was updated successfully, but these errors were encountered: