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

Ondrej Pokorny lazarus at kluug.net
Thu Aug 31 12:06:54 CEST 2017


On 29.08.2017 22:30, Maciej Izak wrote:
>
>     Btw. record helpers support inheritance in all modes but Delphi.
>     It doesn't make sense to disallow it for record helpers but allow
>     it for type helpers... Too overcomplicated without any plus value :/
>
>
> what if Delphi will decide to introduce some new exotic 
> syntax/extension/feature for "record helper"?

Yeah, they might enable record helper inheritance for example :P (Record 
helper inheritance was documented to work for about 7 years since Delphi 
2007 until XE6 
http://docwiki.embarcadero.com/RADStudio/XE6/en/Class_and_Record_Helpers_(Delphi) 
).

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20170831/5e665fd3/attachment.html>


More information about the fpc-devel mailing list