Commit bee7b699 authored by mattip's avatar mattip

fix for fused nodes

parent 07aaffae
...@@ -6976,7 +6976,8 @@ class AttributeNode(ExprNode): ...@@ -6976,7 +6976,8 @@ 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):
# This should be done at a different level??
self.is_called = 1 self.is_called = 1
self.op = '' self.op = ''
self.result_ctype = self.type.return_type self.result_ctype = self.type.return_type
......
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