[fpc-pascal] FPC's behavior regarding new TObject methods

Paul Ishenin webpirat at mail.ru
Sat Nov 13 14:26:40 CET 2010

13.11.2010 20:19, Sven Barth wrote:
>   TTestObject = class
>   public
>     function ToString: String;
>     function Equals(aObject: TObject): Boolean;
>   end;
You are just redeclaring the method. Try to add ToString property or 
declare a ToString argument in some method and you should get an error.

Best regards,
Paul Ishenin.

More information about the fpc-pascal mailing list