Commit d9dc3496 authored by Mark Florisson's avatar Mark Florisson

Copy over result_ctype from arg into ProxyNode

parent b497afbf
...@@ -9157,7 +9157,11 @@ class ProxyNode(CoercionNode): ...@@ -9157,7 +9157,11 @@ class ProxyNode(CoercionNode):
def __init__(self, arg): def __init__(self, arg):
super(ProxyNode, self).__init__(arg) super(ProxyNode, self).__init__(arg)
if hasattr(arg, 'type'):
self.type = arg.type self.type = arg.type
self.result_ctype = arg.result_ctype
if hasattr(arg, 'entry'):
self.entry = arg.entry
def generate_result_code(self, code): def generate_result_code(self, code):
self.arg.generate_result_code(code) self.arg.generate_result_code(code)
......
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