Browse Source

* remove typeof() call on the uninitialized class, because
that fails always

peter 22 years ago
parent
commit
b809c662e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test/tclass5.pp

+ 1 - 1
tests/test/tclass5.pp

@@ -68,7 +68,7 @@ program test_fail;
      writeln('Call to ta1.test after successful init');
      ta1.test;
      ta2:=tarraycla.create(true);
-     writeln('typeof(ta2) = ',longint(typeof(ta2)),' after unsuccessful init');
+     writeln('ta2 = ',longint(ta2),' after unsuccessful init');
      Writeln('Trying to call ta2.test (should generate a Run Time Error)');
      ta2.test;
   end.