[fpc-devel] Allow record helper inheritance in Delphi mode

Stefan Glienke sglienke at dsharp.org
Fri Sep 1 11:51:06 CEST 2017


What I am lobbying for in Delphi are interface helpers and helpers for generic types in general.

I just saw that FPC currently has the same limitation. That also on your list?


> On 01 September 2017 at 11:07 Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> 
> Am 01.09.2017 08:47 schrieb "Stefan Glienke" <sglienke at dsharp.org>:
> > Therefor I argue that the "only the last one in scope is applied"
> restriction should be removed.
> > If there are any clashes because two helpers introduce a any ambiguity
> well then it is the compilers job to warn or error about those and provide
> a way to explicitly call the method from one specific helper by hardcasting
> the instance to the helper type or otherwise.
> >
> 
> That one is on my ToDo-list already.
> 
> Regards,
> Sven



More information about the fpc-devel mailing list