Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
Closed
Description
Code sample inpyright playgroundmypy playground
classFoo[X,Y=object]:deftest(self)->None:reveal_type(Foo[Y,X]())# Foo[X`1, X`1]classBar[X=object,Y=object]:deftest(self)->None:reveal_type(Bar[Y,X]())# Bar[Y`2 = builtins.object, Y`2 = builtins.object]
Expected:
Foo[Y@Foo, X@Foo]Bar[Y@Bar, X@Bar]
Related issue:#19362