[fpc-devel] properties accessing field of nested object ?
    Martin 
    lazarus at mfriebe.de
       
    Mon May 13 12:36:29 CEST 2013
    
    
  
On 13/05/2013 07:47, Michael Van Canneyt wrote:
>
> On Sun, 12 May 2013, Martin wrote:
>
>>
>> I have not tested it at runtime.... I assume it depend on a being 
>> initialized with an instance.
>>
>> Question, is that allowed by intention? That is can I trust that it 
>> will be supported by future fpc versions?
>>
>> Or is that a missing check somewhere, and bay stop working in future?
>
> I think the latter, unless this was added recently as a feature.
> At least in RTTI there is no support for getting/setting fields as 
> part of a class-typed field?
Makes sense, since it does not work for properties, but only for fields.
The access to record fields is intended though?
    
    
More information about the fpc-devel
mailing list