Fix For miscompilation.

This commit is contained in:
whitequark 2015-07-18 07:58:43 +03:00
parent dde2e67c3f
commit 0d66bdfbf8
1 changed files with 1 additions and 1 deletions

View File

@ -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)