[fpc-pascal] Multiple active class helpers at same time

Sven Barth pascaldragon at googlemail.com
Tue Apr 24 07:48:26 CEST 2018


Ryan Joseph <ryan at thealchemistguild.com> schrieb am Di., 24. Apr. 2018,
04:03:

>
>
> > On Apr 24, 2018, at 12:57 AM, Sven Barth via fpc-pascal <
> fpc-pascal at lists.freepascal.org> wrote:
> >
> > As I said the problem arises when inheritance enters the field as the
> rules are a bit different there.
> >
>
> Why should helper methods be allowed to redefine existing methods anyways?
> As I mentioned Swift/ObjC don’t even allow this and just use a simple
> compiler error when a redefinition occurs. If that’s what’s holding up the
> feature I would say just go with Swift/ObjC’s implementation which is
> already proven in the real world to work.
>

Because that is how helper currently work. Extending it with a new feature
will not change that.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180424/d01c4927/attachment.html>


More information about the fpc-pascal mailing list