[fpc-pascal] Class field property access

Ryan Joseph genericptr at gmail.com
Thu Jun 6 20:30:11 CEST 2019



> On Jun 3, 2019, at 11:13 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> The b field could be Nil and the class might not provide any functionality to check for that. In addition to that it's an additional indirection while records/objects merely require an offset. 
> 

{ I’ve resubscribed to the list with a new email since the mail server wasn’t liking my old one. Resending this message since it was rejected before. }

But my point is Pascal allows this kind of behavior so why are properties different? Who cares if there is an additional level of indirection? This appears to be a regression since 3.0.4 also. Did you specifically disable this in 3.3.1? Sorry I’m not understanding this one.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list