Sfoglia il codice sorgente

* typeof(classref) is not possible

peter 22 anni fa
parent
commit
f0ed04651b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/webtbs/tw2317.pp

+ 1 - 1
tests/webtbs/tw2317.pp

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