You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Tuple[int, int] is not compatible with Iterable[int] and Sequence[int], but it should obviously be. Also, update type join to support this (join of Tuple[int, int] and Tuple[int] should be Sequence[int]).
For example, this program is rejected:
from typing import Iterable
def f(x: Iterable[int]) -> None: pass
f([1,2]) # OK
f((1,2)) # Argument 1 to "f" has incompatible type "Tuple[int, int]"