[fpc-devel] [] property overloads

Ben Grasset operator97 at gmail.com
Tue Jul 9 19:02:42 CEST 2019


On Tue, Jul 9, 2019 at 12:59 PM Ben Grasset <operator97 at gmail.com> wrote:

> On Tue, Jul 9, 2019 at 12:32 PM Ryan Joseph <genericptr at gmail.com> wrote:
>
>> So do I need to open another bug report for for this out/var/constref
>> stuff? We already have https://bugs.freepascal.org/view.php?id=28949 but
>> that’s just about the overloading bugs.
>>
>> I think it needs to be something like var/out should be be blocked in
>> properties (unless VARPROPSETTER is on?) and constref should be allowed.
>> Please confirm if that’s correct and I’ll make another bug report.
>>
>
> - snip -
>

Also, the {$VARPROPSETTER} docs should be amended to not say "const",
because again, "const" is allowed in all circumstances and does not
guarantee by-reference passing the way "var", "out", and "constref" do.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190709/4b7153df/attachment.html>


More information about the fpc-devel mailing list