Commit 1a574df5 authored by Stefan Behnel's avatar Stefan Behnel

varargs tempification needs to be done for all varargs, not only Python objects

parent 473f0da8
...@@ -2990,7 +2990,7 @@ class SimpleCallNode(CallNode): ...@@ -2990,7 +2990,7 @@ class SimpleCallNode(CallNode):
arg = arg.coerce_to_temp(env) arg = arg.coerce_to_temp(env)
self.args[i] = arg self.args[i] = arg
# handle additional varargs parameters # handle additional varargs parameters
for i in range(max_nargs, actual_nargs): for i in xrange(max_nargs, actual_nargs):
arg = self.args[i] arg = self.args[i]
if arg.type.is_pyobject: if arg.type.is_pyobject:
arg_ctype = arg.type.default_coerced_ctype() arg_ctype = arg.type.default_coerced_ctype()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment