Open suned opened 6 years ago
type checking the follow program with mypy:
mypy
from oslash import List IntList = List[int] def f() -> IntList: return List.unit(0)
Yields error: Invalid type "StrList".
error: Invalid type "StrList"
type checking the follow program with
mypy
:Yields
error: Invalid type "StrList"
.