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:
pierre 2016-07-24 06:13:46 +00:00
parent e1751df5c3
commit b9e6938519

View File

@ -858,7 +858,7 @@ begin
if assigned(pobjectvmt(vmt)^.parent) then
vmt:=pobjectvmt(vmt)^.parent^
else
exit;
vmt:=nil;
{$endif}
RunError(219);
end;