mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:09:20 +02:00
Correct behavior: if VMT becomes NIL, RTE 219 must be generated as this happens if EXPVMT is not an ancestor of starting VMT
git-svn-id: trunk@34197 -
This commit is contained in:
parent
e1751df5c3
commit
b9e6938519
@ -858,7 +858,7 @@ begin
|
|||||||
if assigned(pobjectvmt(vmt)^.parent) then
|
if assigned(pobjectvmt(vmt)^.parent) then
|
||||||
vmt:=pobjectvmt(vmt)^.parent^
|
vmt:=pobjectvmt(vmt)^.parent^
|
||||||
else
|
else
|
||||||
exit;
|
vmt:=nil;
|
||||||
{$endif}
|
{$endif}
|
||||||
RunError(219);
|
RunError(219);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user