Recursive type definition produces unexpected error message #7125
Labels
bug
mypy got something wrong
priority-1-normal
semantic-analyzer
Problems that happen during semantic analysis
topic-recursive-types
topic-usability
This test cases produces unexpected output:
Here's the output:
I'd expect there to be an error about a cyclic definition instead.
There is an existing test case
testRecursiveNamedTupleTypedDict
incheck-incremental.test
that triggers the error. The above test case is slightly simplified version of that test case.The text was updated successfully, but these errors were encountered: