* fixed tobjectdef.find_destructor(), it did not search the parent classes

git-svn-id: trunk@15581 -
This commit is contained in:
Jonas Maebe 2010-07-15 19:11:14 +00:00
parent 517290d09d
commit 572f51867c

View File

@ -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;