Commit bee7b699 authored by mattip's avatar mattip

fix for fused nodes

parent 07aaffae
...@@ -6976,10 +6976,11 @@ class AttributeNode(ExprNode): ...@@ -6976,10 +6976,11 @@ class AttributeNode(ExprNode):
self.obj = self.obj.analyse_types(env) self.obj = self.obj.analyse_types(env)
self.analyse_attribute(env) self.analyse_attribute(env)
if self.entry and self.entry.is_cmethod and not self.is_called: if self.entry and self.entry.is_cmethod and not self.is_called:
# It must be a property method. This should be done at a different level?? if getattr(self.entry, 'is_cgetter', False):
self.is_called = 1 # This should be done at a different level??
self.op = '' self.is_called = 1
self.result_ctype = self.type.return_type self.op = ''
self.result_ctype = self.type.return_type
pass pass
## Reference to C array turns into pointer to first element. ## Reference to C array turns into pointer to first element.
#while self.type.is_array: #while self.type.is_array:
......
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