mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 08:26:30 +08:00
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)
|
elt = self._iterable_get(iterable, phi)
|
||||||
try:
|
try:
|
||||||
self.current_assign = elt
|
self.current_assign = elt
|
||||||
self.visit(node.iter)
|
self.visit(node.target)
|
||||||
finally:
|
finally:
|
||||||
self.current_assign = None
|
self.current_assign = None
|
||||||
self.visit(node.body)
|
self.visit(node.body)
|
||||||
|
Loading…
Reference in New Issue
Block a user