Incompatible return type when returning empty list and annotation is Union[List]
#13625
Labels
bug
mypy got something wrong
Union[List]
#13625
mypy has no problem with the first function, but complains about the other.
The text was updated successfully, but these errors were encountered: