for loops are now parsed even if they are really faulty and don't end.
This commit is contained in:
1 parent
92eba44d07
commit
8b34e120e0
3 files changed
+21
-12
No files matched your search
@@ -275,6 +275,10 @@ class Scope(Simple, IsScope):
|
||||
if self.isinstance(Function):
|
||||
checks += self.params + self.decorators
|
||||
checks += [r for r in self.returns if r is not None]
|
||||
if self.isinstance(Flow):
|
||||
checks += self.inputs
|
||||
if isinstance(self, ForFlow):
|
||||
checks.append(self.set_stmt)
|
||||
|
||||
for s in checks:
|
||||
if isinstance(s, Flow):
|
||||
|
||||
Reference in new issue
Block a user