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

Ben Grasset operator97 at gmail.com
Fri Jun 28 00:09:00 CEST 2019


On Thu, Jun 27, 2019 at 4:12 PM Martin <fpc at mfriebe.de> wrote:

> Are indexes to properties intentionally allowed to take "var param"?
> Btw it even compiles with an "out" param.
>

"Var" and "Out" seem bad, although I've always though that "Constref"
*should* be allowed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190627/95db9738/attachment-0001.html>


More information about the fpc-devel mailing list