Skip to content

Commit 43c2765

Browse files
committed
Sync typevar ids
1 parent dfbcb9b commit 43c2765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-selftype.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2306,8 +2306,8 @@ class B:
23062306

23072307
@classmethod
23082308
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"
2309+
reveal_type(cls.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`5) -> Self`5"
2310+
reveal_type(B.meth) # N: Revealed type is "def [Self <: __main__.B] (self: Self`6) -> Self`6"
23112311
return cls().meth()
23122312

23132313
class C:

0 commit comments

Comments
 (0)