[ty] Bind self with instance in __get__ (#22155)
## Summary See: https://github.com/astral-sh/ruff/pull/22153/changes#r2641788438.
This commit is contained in:
@@ -193,8 +193,7 @@ class B:
|
||||
reveal_type(B().name_does_not_matter()) # revealed: B
|
||||
reveal_type(B().positional_only(1)) # revealed: B
|
||||
reveal_type(B().keyword_only(x=1)) # revealed: B
|
||||
# TODO: This should deally be `B`
|
||||
reveal_type(B().decorated_method()) # revealed: Self@decorated_method
|
||||
reveal_type(B().decorated_method()) # revealed: B
|
||||
|
||||
reveal_type(B().a_property) # revealed: B
|
||||
|
||||
|
||||
Reference in New Issue
Block a user