mirror of https://github.com/astral-sh/ruff
not failing anymore
This commit is contained in:
parent
22c7fc4516
commit
c56d5cc24b
|
|
@ -668,8 +668,6 @@ class ClassWithOverloadedInit[T]:
|
|||
# revealed: ClassWithOverloadedInit[int] | ClassWithOverloadedInit[str]
|
||||
reveal_type(accepts_callable(ClassWithOverloadedInit)(0))
|
||||
# TODO: revealed: ClassWithOverloadedInit[str]
|
||||
# TODO: no [invalid-argument-type]
|
||||
# error: [invalid-argument-type]
|
||||
# revealed: ClassWithOverloadedInit[int] | ClassWithOverloadedInit[str]
|
||||
reveal_type(accepts_callable(ClassWithOverloadedInit)(""))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue