Joost van der Sluis <jo...@cnoc.nl> hat am 9. Juni 2011 um 12:53 geschrieben:

 > Hi all,
 >
 > This construct is accepted by the compiler:
 >
 >   Tdm = class(TDataModule)
 >     IBConnection1: TIBConnection;
 >     procedure DataModuleCreate(Sender: TObject);
 >   private
 >     function GetOnderdelen: TXMLDocument;
 >   public
 >     property Onderdelen: TXMLDocument read GetOnderdelen;
 >     destructor Destroy; override;
 >   end;
 >
 > Note the 'destructor' behind the property definition. Isn't this a bug?
 > (The Lazarus codetools choke on it) 
It works here. 
 
 Mattias
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to