FPC doesn't allow implements properties be of class types
Original Reporter info from Mantis: mcarro
-
Reporter name: Mario R. Carro
Original Reporter info from Mantis: mcarro
- Reporter name: Mario R. Carro
Description:
Delphi allows implements properties to be of class types derived from TAggregatedObject, but FPC requires them to be of interface types.
For example this line (from the JclSchedule.pas unit of the JCL):
property DailyFreq: TDailyFreq read FDailyFreq implements IJclScheduleDayFrequency;
fails to compile with the message:
JclSchedule.pas(1327,87) Error: Implements property must have interface type
Mantis conversion info:
- Mantis ID: 8951
- Monitored by: » mspiller (mspiller), » kyan (Constantine Yannakopoulos), » luizamerico (Luiz Americo), » etrusco (Flávio Etrusco)
- Target version: 2.4.0