The logic for specifying whether delegates are static was inverted.
SourceFile? file = get_source_file (element);
SourceComment? comment = create_comment (element.comment);
- Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, element.get_cname (), element.has_target, element);
+ Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, element.get_cname (), !element.has_target, element);
node.return_type = create_type_reference (element.return_type, node, node);
symbol_map.set (element, node);
parent.add_child (node);
SourceFile? file = get_source_file (element);
SourceComment? comment = create_comment (element.comment);
- Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, element.get_cname (), element.has_target, element);
+ Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, element.get_cname (), !element.has_target, element);
node.return_type = create_type_reference (element.return_type, node, node);
symbol_map.set (element, node);
parent.add_child (node);
SourceFile? file = get_source_file (element);
SourceComment? comment = create_comment (element.comment);
- Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), element.has_target, element);
+ Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), !element.has_target, element);
node.return_type = create_type_reference (element.return_type, node, node);
symbol_map.set (element, node);
parent.add_child (node);
SourceFile? file = get_source_file (element);
SourceComment? comment = create_comment (element.comment);
- Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), element.has_target, element);
+ Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), !element.has_target, element);
node.return_type = create_type_reference (element.return_type, node, node);
symbol_map.set (element, node);
parent.add_child (node);
SourceFile? file = get_source_file (element);
SourceComment? comment = create_comment (element.comment);
- Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), element.has_target, element);
+ Delegate node = new Delegate (parent, file, element.name, get_access_modifier(element), comment, get_cname (element), !element.has_target, element);
node.return_type = create_type_reference (element.return_type, node, node);
symbol_map.set (element, node);
parent.add_child (node);