Commit ad11826d authored by Xavier Thompson's avatar Xavier Thompson

Avoid some redundant work in checking function signature compatibility

parent daa03512
......@@ -2997,7 +2997,7 @@ class CFuncType(CType):
return 0
if not self.is_overridable and other_type.is_overridable:
return 0
if not skip_args and not self.compatible_arguments_with_resolved_type(other_type, as_cmethod):
if not skip_args and not self.__compatible_arguments_with_resolved_type(other_type, as_cmethod):
return 0
if not self.return_type.subtype_of_resolved_type(other_type.return_type):
return 0
......
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