Explorar el Código

* typeof(classref) fix

peter hace 22 años
padre
commit
a08ec3a9b2
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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;