mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 13:28:26 +01:00
* consider invokables as related when they're equal
This commit is contained in:
parent
145b37425d
commit
47d7520b32
@ -2764,6 +2764,13 @@ implementation
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if is_funcref(realself) and is_funcref(otherdef) then
|
||||||
|
begin
|
||||||
|
result:=(funcref_equal(tobjectdef(realself),tobjectdef(otherdef))>=te_equal);
|
||||||
|
if result then
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
{ Objective-C protocols and Java interfaces can use multiple
|
{ Objective-C protocols and Java interfaces can use multiple
|
||||||
inheritance }
|
inheritance }
|
||||||
if (realself.objecttype in [odt_objcprotocol,odt_interfacejava]) then
|
if (realself.objecttype in [odt_objcprotocol,odt_interfacejava]) then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user