[fpc-devel] [] property overloads

Ryan Joseph genericptr at gmail.com
Tue Jul 9 23:39:51 CEST 2019



> On Jul 9, 2019, at 5:32 PM, Ben Grasset <operator97 at gmail.com> wrote:
> 
> I don't know if I completely agree with this part in a general sense. There's plenty of perfectly valid uses for properties that are nothing like the straightforward "make something act like an array" stuff:
> 

I guess I could see people using var/out for this:

if b[v] then
  v.doSomething;

I’m not sure if it’s a bug or not so I’ll wait for the compiler teams response and I don’t care either way, I just want constref to work. :)

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list