-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
astral-sh/ruff
#22435Labels
diagnosticsRelated to reporting of diagnostics.Related to reporting of diagnostics.genericsBugs or features relating to ty's generics implementationBugs or features relating to ty's generics implementationgood first issueGood for newcomersGood for newcomers
Milestone
Description
Summary
def f[T: int](t: T) -> T:
return t
x = [f]here x is shown as list[Unknown | ((t: T@f) -> T@f)]
excusing the Unknown, i would expect the type parameters to be included
[T: int](t: T) -> T
Version
0b60584b7
connected with: #1225
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
diagnosticsRelated to reporting of diagnostics.Related to reporting of diagnostics.genericsBugs or features relating to ty's generics implementationBugs or features relating to ty's generics implementationgood first issueGood for newcomersGood for newcomers