Skip to content

Commit ee5f426

Browse files
committed
Fix iface calls being broken
1 parent 34989f6 commit ee5f426

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py/dml/ctree.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2885,9 +2885,10 @@ def __str__(self):
28852885
self.node_expr, self.method_name,
28862886
'(' + ", ".join(str(e) for e in self.args) + ')')
28872887
def read(self):
2888+
args = [e.read() for e in self.args]
28882889
call = "(%s)->%s(%s)" % (
28892890
read_iface_struct(self.node_expr), self.method_name,
2890-
", ".join(e.read() for e in self.args))
2891+
", ".join(args))
28912892
if not dml.globals.thread_aware:
28922893
return call
28932894

0 commit comments

Comments
 (0)