mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 23:09:40 +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
|
||||
vmt:=pobjectvmt(vmt)^.parent^
|
||||
else
|
||||
exit;
|
||||
vmt:=nil;
|
||||
{$endif}
|
||||
RunError(219);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user