…a "star" entry in the pattern captures a TypeVarTuple. The resulting type should be Unknown rather than the unpacked TypeVarTuple.
Fixed bug that results in a false positive when assigning type tuple[Any, ...] to tuple[*TS]. This should be allowed because tuple[Any, ...] is a gradual form that is assignable to all tuple types.
…a "star" entry in the pattern captures a TypeVarTuple. The resulting type should be
Unknown
rather than the unpacked TypeVarTuple.Fixed bug that results in a false positive when assigning type
tuple[Any, ...]
totuple[*TS]
. This should be allowed becausetuple[Any, ...]
is a gradual form that is assignable to all tuple types.This addresses #8357.