forked from M-Labs/artiq
Fix For miscompilation.
This commit is contained in:
parent
dde2e67c3f
commit
0d66bdfbf8
@ -368,7 +368,7 @@ class IRGenerator(algorithm.Visitor):
|
||||
elt = self._iterable_get(iterable, phi)
|
||||
try:
|
||||
self.current_assign = elt
|
||||
self.visit(node.iter)
|
||||
self.visit(node.target)
|
||||
finally:
|
||||
self.current_assign = None
|
||||
self.visit(node.body)
|
||||
|
Loading…
Reference in New Issue
Block a user