[fpc-devel]  property overloads
genericptr at gmail.com
Sat Jun 22 20:19:45 CEST 2019
> On Jun 21, 2019, at 1:59 PM, Ryan Joseph <genericptr at gmail.com> wrote:
> Even though overloads are allowed the actual name isn’t overloaded so you MUST access without the name to get overloading affects. I didn’t overload the actual name because properties aren’t really functions and as such don’t use tcallcandiates etc… If you attempt to use the name of the default property the last property declared wins. Is that ok? I hope so because I imagine it’s lots of work to actually make property names behave like real functions and not worth it imo.
Thought about this more and it doesn’t make sense. Actually I think the name should overload also so all these should work:
I’ll fix that once I’m sure what I’ve done so far is correct.
More information about the fpc-devel