mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-25 03:55:02 +02:00
* fixed is_related() for objcprotocol
git-svn-id: trunk@15451 -
This commit is contained in:
parent
e66dbe1317
commit
5a1e4befe4
@ -4367,7 +4367,7 @@ implementation
|
|||||||
|
|
||||||
for i:=0 to prot.ImplementedInterfaces.count-1 do
|
for i:=0 to prot.ImplementedInterfaces.count-1 do
|
||||||
begin
|
begin
|
||||||
result:=is_related_protocol(tobjectdef(prot.ImplementedInterfaces[i]),d);
|
result:=is_related_protocol(TImplementedInterface(prot.ImplementedInterfaces[i]).intfdef,d);
|
||||||
if result then
|
if result then
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user