Explorar o código

* typeof(classref) fix

peter %!s(int64=22) %!d(string=hai) anos
pai
achega
a08ec3a9b2
Modificáronse 2 ficheiros con 2 adicións e 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;