mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 15:24:11 +02:00
* fixed tobjectdef.find_destructor(), it did not search the parent classes
git-svn-id: trunk@15581 -
This commit is contained in:
parent
517290d09d
commit
572f51867c
@ -4434,7 +4434,7 @@ implementation
|
||||
objdef:=self;
|
||||
while assigned(objdef) do
|
||||
begin
|
||||
result:=find_procdef_bytype(potype_destructor);
|
||||
result:=objdef.find_procdef_bytype(potype_destructor);
|
||||
if assigned(result) then
|
||||
exit;
|
||||
objdef:=objdef.childof;
|
||||
|
Loading…
Reference in New Issue
Block a user