Merge _remove_statements and infer_expr_stmt, fixes #1504
This commit is contained in:
1 parent
d574162da3
commit
fb72e1b448
2 files changed
+19
-18
No files matched your search
@@ -91,3 +91,15 @@ class B:
|
||||
for i in self.a(i):
|
||||
#?
|
||||
yield i
|
||||
|
||||
|
||||
foo = int
|
||||
foo = foo # type: foo
|
||||
#? int
|
||||
foo
|
||||
|
||||
while True:
|
||||
bar = int
|
||||
bar = bar # type: bar
|
||||
#? int()
|
||||
bar
|
||||
Reference in new issue
Block a user