> On Sep 9, 2018, at 5:01 PM, Martin <f...@mfriebe.de> wrote:
> 
> And how should the rules be for mixing with class helpers? (In case of 
> conflicting names)

On the dev list Sven told me to use the tcallcandidates class to resolve 
overloads and I believe this handles searching class helpers also. So I guess 
the answer is whatever is standard behavior in FPC.

Since the base class takes precedence the example would search in the order:

TWrapper
THelperA
THelperB

If that’s allowed it’s basically the same as subclassing but in records.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to