-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
astral-sh/ruff
#18401Labels
genericsBugs or features relating to ty's generics implementationBugs or features relating to ty's generics implementationhelp wantedContributions especially welcomeContributions especially welcome
Milestone
Description
Combine starred element types. For example, in (a, *b, c) = (1, 2, 3, 4)
, the Literal[2]
and Literal[3]
type should be combined into list[int]
to be assigned to *b
. (Requires generic support over list) https://github.com/astral-sh/ruff/blob/c6b311c54643c039d793fb836caf94d22f03cbb4/crates/red_knot_python_semantic/src/types/infer.rs#L1248-L1251
Metadata
Metadata
Assignees
Labels
genericsBugs or features relating to ty's generics implementationBugs or features relating to ty's generics implementationhelp wantedContributions especially welcomeContributions especially welcome