[fpc-pascal] with in classes/records

Ryan Joseph ryan at thealchemistguild.com
Thu Oct 4 15:37:23 CEST 2018



> On Oct 4, 2018, at 8:34 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> Technical issues aside, it kind of defeats the purpose of the default
> property...

Then just tolerate the fact we have a dual meaning for assignments? Looks wrong but maybe not a problem.

var
	wrapper: TWrapper;
begin
	wrapper := TWrapper.Create;
	wrapper := THelperA.Create;


Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list