[fpc-pascal] [OT] Generics and Type Constraints sample

Flávio Etrusco flavio.etrusco at gmail.com
Sat Nov 1 02:16:22 CET 2014


On Fri, Oct 31, 2014 at 12:08 PM, silvioprog <silvioprog at gmail.com> wrote:
> On Fri, Oct 31, 2014 at 11:23 AM, Sven Barth <pascaldragon at googlemail.com>
> wrote:
>>
>> Am 30.10.2014 20:49 schrieb "silvioprog" <silvioprog at gmail.com>:
>> >   TMath<T; A: TAdder<T>, constructor> = class
>>
>> It is not yet possible to reuse a type parameter directly in the parameter
>> declaration. There already exists a bug report though.
>>
>> Regards,
>> Sven
>
> Very nice!
>
> Some link? I will follow it.
>

Probably this: http://bugs.freepascal.org/view.php?id=25678
It was easy to find just searching "generics" in unresolved FPC tickets ;-)

-Flávio



More information about the fpc-pascal mailing list