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

Sven Barth pascaldragon at googlemail.com
Tue Aug 29 18:54:25 CEST 2017


Am 29.08.2017 17:39 schrieb "Ondrej Pokorny" <lazarus at kluug.net>:
> So yes, your description of {$modeswitch typehelpers} makes sense for
3.0.0 but not for trunk any more. So what is your intention - 3.0.0
behavior or trunk behavior?

Maybe it would indeed make more sense to adjust the meaning of the
typehelpers modeswitch in mode Delphi... Namely that it enabled the "type
helper" syntax including the inheritance. But the record helpers are left
as is... (btw: a type helper for a primitive type can inherit from a record
helper of the same type, internally they're all the same)

This way we won't need a new modeswitch...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20170829/5a6b13c6/attachment.html>


More information about the fpc-devel mailing list