Browse Source

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 -
pierre 9 years ago
parent
commit
b9e6938519
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/generic.inc

+ 1 - 1
rtl/inc/generic.inc

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