Skip to content

Commit 0d66bdf

Browse files
author
whitequark
committedJul 18, 2015
Fix For miscompilation.
1 parent dde2e67 commit 0d66bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎artiq/compiler/transforms/ir_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def visit_For(self, node):
368368
elt = self._iterable_get(iterable, phi)
369369
try:
370370
self.current_assign = elt
371-
self.visit(node.iter)
371+
self.visit(node.target)
372372
finally:
373373
self.current_assign = None
374374
self.visit(node.body)

0 commit comments

Comments
 (0)
Please sign in to comment.