Fix ClassVars and add tests
This commit is contained in:
1 parent
7fc311bb3e
commit
c0c6ce2987
2 files changed
+16
-1
No files matched your search
@@ -36,3 +36,18 @@ char: str
|
||||
for char in NOT_DEFINED:
|
||||
#? str()
|
||||
char
|
||||
|
||||
|
||||
class Foo():
|
||||
bar: int
|
||||
baz: typing.ClassVar[str]
|
||||
|
||||
|
||||
#? int()
|
||||
Foo.bar
|
||||
#? int()
|
||||
Foo().bar
|
||||
#? str()
|
||||
Foo.baz
|
||||
#? str()
|
||||
Foo().baz
|
||||
Reference in new issue
Block a user