mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed dataclass test.
This commit is contained in:
parent
5b06cb9946
commit
9f2ac94da3
@ -7,7 +7,6 @@ class Bar():
|
||||
bbb: int
|
||||
ccc: str
|
||||
aaa = 'string'
|
||||
ddd: InitVar[int] = 3
|
||||
|
||||
bar1 = Bar(bbb=5, ccc='hello')
|
||||
bar2 = Bar(5, 'hello')
|
||||
@ -46,4 +45,5 @@ class Baz1():
|
||||
@dataclass
|
||||
class Baz2():
|
||||
aaa: str
|
||||
ddd: InitVar[int] = 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user