> On Jun 27, 2019, at 3:09 PM, Martin <f...@mfriebe.de> wrote:
> 
> The below compiles, and writes
> 1 2
> 
> Are indexes to properties intentionally allowed to take "var param"?
> Btw it even compiles with an "out" param.

That sounds like a bug or something that should be prevented. I just found out 
default properties allowed overloading by accidental means so this may be 
another similar matter. Those should maybe be prevented also but that could 
break existing code.

Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to