Type aliases are not recognized correctly in some situations with import cycles #5130
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
semantic-analyzer
Problems that happen during semantic analysis
topic-import-cycles
This may be a duplicate issue, but I'm a bit lost... I'm using
mypy 0.600
andPython 3.6.2
.python -c 'import c'
works,Mypy .
give the errors:I would like to understand how here
Mypy
import mechanism is different fromPython
import mechanism, and whyMypy
fails withU
type.The text was updated successfully, but these errors were encountered: