mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-19 12:16:43 +00:00
don't format!
This commit is contained in:
parent
9c896e5095
commit
b3f85fee30
1 changed files with 2 additions and 0 deletions
|
|
@ -253,6 +253,8 @@ class Sub(Base): ...
|
|||
@final
|
||||
class Unrelated: ...
|
||||
|
||||
# fmt: off
|
||||
|
||||
def mutually_bound[T: Base, U]():
|
||||
# revealed: ty_extensions.Specialization[T@mutually_bound = Base, U@mutually_bound = object]
|
||||
reveal_type(generic_context(mutually_bound).specialize_constrained(ConstraintSet.always()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue