[fpc-devel] RFC: Delphi style class helpers

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 21 08:42:33 CET 2010


On 21 Dec 2010, at 03:01, Paul Ishenin wrote:

> After reading of Jonas mail and following to QC I found that next example indeed works:
> 
>  TFooHelper1 = class helper(TFooHelper) for TFoo
>  end;

I think it's probably related to the fact that at most one class helper can be used at a time. If you could not inherit from other class helpers, you would to completely reimplement them if you wanted to add one extra method later in another unit.


Jonas


More information about the fpc-devel mailing list