forked from M-Labs/artiq
Revert "fixes with statement with multiple items"
This reverts commit e23ed15464
.
This commit is contained in:
parent
9ae5e3c569
commit
15bb0fa9a1
|
@ -855,8 +855,8 @@ class ARTIQIRGenerator(algorithm.Visitor):
|
|||
self.current_assign = None
|
||||
|
||||
none = self.append(ir.Alloc([], builtins.TNone()))
|
||||
call = self._user_call(exit_fn, [none, none, none], {})
|
||||
cleanup.append(lambda: call)
|
||||
cleanup.append(lambda:
|
||||
self._user_call(exit_fn, [none, none, none], {}))
|
||||
|
||||
self._try_finally(
|
||||
body_gen=lambda: self.visit(node.body),
|
||||
|
|
Loading…
Reference in New Issue