[fpc-pascal] += property bug?

Alexander Grotewohl alex at dcclost.com
Sun Aug 11 23:59:33 CEST 2019


d.x += 10; // makes even more sense

On 8/11/2019 2:21 PM, Ryan Joseph wrote:
>
>> On Aug 11, 2019, at 11:41 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>>
>> This is forbidden by design.
> Why? It makes sense it should resolve to: d.setter(d.getter + 10) but maybe there’s a problem?
>
> Regards,
> 	Ryan Joseph
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list