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

Sven Barth pascaldragon at googlemail.com
Fri Sep 1 18:30:07 CEST 2017


Am 01.09.2017 14:41 schrieb "Maciej Izak" <hnb.code at gmail.com>:
>
> 2017-09-01 14:30 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:
>>>
>>>
>>> No, directives won't be abused for something like that.
>>
>>
>> I am glad I am not the only one who thins so :)
>
>
> I like experiments as you know. Thanks for critical words as always :P.
But this time I must agree too. :) Only one experimental option left in my
mind for this:
>
> s: string with TH1, TH2;
>
> but for now probably hardcasting is the best what we can.

I'd prefer to keep that syntax for aspects or as alternative attribute
syntax instead of wasting it for helpers that are defined to work based on
the type.

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


More information about the fpc-devel mailing list