not failing anymore

This commit is contained in:
Douglas Creager 2025-12-07 14:39:18 -05:00
parent 22c7fc4516
commit c56d5cc24b
1 changed files with 0 additions and 2 deletions

View File

@ -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)(""))