瀏覽代碼

* typeof(classref) fix

peter 22 年之前
父節點
當前提交
a08ec3a9b2
共有 2 個文件被更改,包括 2 次插入2 次删除
  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;