We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbcb9b commit 43c2765Copy full SHA for 43c2765
test-data/unit/check-selftype.test
@@ -2306,8 +2306,8 @@ class B:
2306
2307
@classmethod
2308
def other_meth(cls) -> Self:
2309
- reveal_type(cls.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`6) -> Self`6"
2310
- reveal_type(B.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`7) -> Self`7"
+ reveal_type(cls.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`5) -> Self`5"
+ reveal_type(B.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`6) -> Self`6"
2311
return cls().meth()
2312
2313
class C:
0 commit comments