tb0120.pp 421 B

123456789101112131415161718192021222324252627
  1. { Old file: tbs0140.pp }
  2. { Shows that interdependent units still are not OK. OK 0.99.6 (PFV) }
  3. unit tb0120;
  4. {
  5. The first compilation runs fine.
  6. A second compilation (i.e; .ppu files exist already) crashes the compiler !!
  7. }
  8. interface
  9. type
  10. TObject = object
  11. constructor Init(aPar:byte);
  12. end;
  13. implementation
  14. uses ub0120;
  15. constructor TObject.Init(aPar:byte);
  16. begin
  17. if aPar=0 then Message(Self);
  18. end;
  19. end.