import p.b
when p's __init__.py
is not in build silently produces any
#4797
Labels
bug
mypy got something wrong
The following test fails, producing no output:
Adding a
reveal_type(p.b)
reveals that its type isAny
.The following two variants of this test, using
from ... import ...
, both pass, however:The text was updated successfully, but these errors were encountered: