Procházet zdrojové kódy

* typeof(classref) fix

peter před 22 roky
rodič
revize
a08ec3a9b2
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      tests/webtbs/tw2318.pp
  2. 1 1
      tests/webtbs/tw2318b.pp

+ 1 - 1
tests/webtbs/tw2318.pp

@@ -17,7 +17,7 @@ End;
 
 Function tObject.GetVMT:Pointer;
 Begin
-  GetVMT:=Typeof(self);
+  GetVMT:=self;
 End;
 
 

+ 1 - 1
tests/webtbs/tw2318b.pp

@@ -20,7 +20,7 @@ End;
 
 Function tObject.GetVMT:Pointer;
 Begin
-  GetVMT:=Typeof(self);
+  GetVMT:=self;
 End;