On Tue, Jul 9, 2019 at 12:59 PM Ben Grasset <operato...@gmail.com> wrote:
> On Tue, Jul 9, 2019 at 12:32 PM Ryan Joseph <generic...@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.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel