[fpc-pascal] why can't we define class operator for old fashion object type, but ok for 'advanced record' type?

Ryan Joseph ryan at thealchemistguild.com
Fri Aug 17 17:48:31 CEST 2018



> On Aug 16, 2018, at 8:55 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> It shouldn't be hard. Feel free to provide a patch together with some tests and it will be taken under consideration.

So the reason that objects/classes in FPC don’t have operators in the class (like advanced records) is for Delphi compatibility? That would be great if operators were unified across records/classes.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list