[fpc-pascal] with in classes/records
Michael Van Canneyt
michael at freepascal.org
Thu Oct 4 15:34:04 CEST 2018
On Thu, 4 Oct 2018, Ryan Joseph wrote:
>> On Sep 26, 2018, at 1:14 AM, Benito van der Zander <benito at benibela.de> wrote:
>> perhaps everything would be clearer, if the default property was accessed with ^ ?
>> wrapper: TWrapper;
>> wrapper := TWrapper.Create;
>> wrapper^ := THelperA.Create;
> Sorry, back to working on this today.
> That’s an idea. Probably the other way around though since initializing
> the class is the less common operation. The compiler team is busy I guess
> because I haven’t got any answers recently on questions. I suspect
> appropriating the ^ symbol will not be ok with them since it has another
> reserved meaning.
Technical issues aside, it kind of defeats the purpose of the default
More information about the fpc-pascal