[fpc-devel] Is that supposed to work: property with "[var index: TFoo]" ?

Sven Barth pascaldragon at googlemail.com
Fri Jun 28 21:40:26 CEST 2019


Ryan Joseph <genericptr at gmail.com> schrieb am Fr., 28. Juni 2019, 20:12:

>
>
> > On Jun 28, 2019, at 1:39 AM, Sven Barth via fpc-devel <
> fpc-devel at lists.freepascal.org> wrote:
> >
> > I just tested with Delphi and it works there as well. So contrary to
> what we thought this does not seem to be a bug...
>
> I think it’s still buggy. Why does this compile? I guess it would make
> sense if the property didn’t have any parameters and just mapped to any of
> the overloaded functions but with the parameters it doesn’t make any sense.
>

I was talking about the var/out stuff. The overload one doesn't work in
Delphi either.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190628/cc196796/attachment.html>


More information about the fpc-devel mailing list