[fpc-pascal] why can't we define class operator for old fashion object type, but ok for 'advanced record' type?
Sven Barth
pascaldragon at googlemail.com
Thu Aug 16 16:55:11 CEST 2018
Am 16.08.2018 um 12:23 schrieb Dennis Poon:
>
>
> Sven Barth via fpc-pascal wrote:
>> Am 15.08.2018 um 10:59 schrieb Dennis:
>>> Why class operator is accepted for advanced records but not old
>>> fashion object???
>> Because objects are not records. Internally they are handled more
>> closely to classes than records.
>>
> Would it be too hard to also implement class operators for old fashion
> objects? That will be very nice.
It shouldn't be hard. Feel free to provide a patch together with some
tests and it will be taken under consideration.
Regards,
Sven
More information about the fpc-pascal
mailing list