Ryan Joseph <[email protected]> schrieb am Di., 9. Juli 2019, 15:39:

> Another thing regarding array properties. If I use constref on the setter
> I get an error "Illegal symbol for property access”. Is there any reason
> why the setter can’t be constref? If not I’d like to change this with my
> array properties patch. Making it inline properly avoids the copy but you
> may not want inline and just want to avoid the copy during setting.


It was probably an oversight when constref was introduced.

I wouldn't stuff everything and the kitchen sink into your overload patch
however. This and the fix regarding signature checks might be interesting
to merge into 3.2 while property overloads might have to "mature" a bit
inside trunk.

Regards,
Sven

>
>
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to