Преглед на файлове

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 години
родител
ревизия
b9e6938519
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;