On Fri, 10 May 2019 21:56:56 +0200
Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:

>[...]
> We are pleased to announce that Free Pascal now supports the usage of 
> multiple active helper types per extended type. This feature has been 
> developed by Ryan Joseph, so thank you very much Ryan.

Thanks Ryan!

 
>[...]
> program testA;
> 
> uses
>    test1, test2;
> 
> var
>    o: TObject;
> begin
>    Writeln(o.Func); // will print 2
> end.
> 
> program testB;
> 
> uses
>    test2, test1;
> 
> var
>    o: TObject;
> begin
>    Writeln(o.Func); // will print 1
> end.

Ehm, these two examples only demonstrates that the last helper wins.
They do not demonstrate multihelpers, do they?

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

Reply via email to