[fpc-pascal] with in classes/records
ryan at thealchemistguild.com
Fri Sep 14 10:50:09 CEST 2018
How should this syntax work? TWrapper needs to allow assignments of TWrapper for constructors but it also should accept assignments of THelperA for the default write property.
Is that a problem or should TWrapper be able to assign both? It looks strange so I thought I would ask.
THelperA = class
TWrapper = class
property helperA: THelperA read objA write objA; default;
wrapper := TWrapper.Create;
wrapper := THelperA.Create;
More information about the fpc-pascal