瀏覽代碼

* typeof(classref) is not allowed

peter 22 年之前
父節點
當前提交
7e91a89a39
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/webtbs/tw2332.pp

+ 1 - 1
tests/webtbs/tw2332.pp

@@ -12,7 +12,7 @@ Type tObject=Object
 
 Function tObject.GetVMT:Pointer;
 Begin
-   Exit(TypeOf(Self));
+   Exit(Self);
 End;
 
 Constructor tObject.Init;