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

Sven Barth pascaldragon at googlemail.com
Tue Aug 29 11:48:13 CEST 2017

Am 29.08.2017 10:37 schrieb "Ondrej Pokorny" <lazarus at kluug.net>:
> On 29.08.2017 8:47, Michael Van Canneyt wrote:
>> On Tue, 29 Aug 2017, Sven Barth via fpc-devel wrote:
>>> Suggested name is "NonDelphiExtensions".
>> Why not simply allow $RECORDHELPERS or so ?
> Hmm yes. Reading
https://www.freepascal.org/docs-html/3.0.2/prog/progsu105.html you can
define other non-delphi extensions for the Delphi mode (like
> Maybe it would be more clear to name the modeswitch TYPEHELPERINHERITANCE
and don't bind it to delphi mode?

The idea is okay as well, but I'd name it RecordHelperInheritance, cause if
we'd allow "type helper" in mode Delphi (as Maciej asks) then those would
support inheritance by default as they aren't Delphi compatible as a whole

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20170829/2425d295/attachment.html>

More information about the fpc-devel mailing list