Revert "fixes with statement with multiple items"

This reverts commit 88d346fa26.
pull/1550/head
Sebastien Bourdeauducq 2020-11-22 11:57:22 +08:00
parent 8e46c3c1fd
commit eda4850f64
1 changed files with 2 additions and 2 deletions

View File

@ -878,8 +878,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),