Tuple index out of range
doesn't take into account len
check when accessing Union
of Tuples
of varying lengths
#13941
Labels
Where a type is a
Union
ofTuples
of varying lengths, Mypy remains blissfully unaware of anylen
validation before accessing elements beyond the minimum length.Results:
The text was updated successfully, but these errors were encountered: