"Can't determine type" error in import cycles with named tuples and typed dicts #5658
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-import-cycles
topic-named-tuple
topic-typed-dict
Uh oh!
There was an error while loading. Please reload this page.
Consider this test case which currently fails with
Cannot determine type of "tp"
:Note however that such code will anyway fail at runtime, and it works if one imports under
if MYPY:
(see #2015). I think therefore it is relatively low priority.This is a follow up for #5635
The text was updated successfully, but these errors were encountered: