[fpc-pascal] Generic with inheritance - fpc 3.0

Michael Van Canneyt michael at freepascal.org
Mon Nov 30 17:35:41 CET 2015



On Mon, 30 Nov 2015, Sven Barth wrote:

> Am 30.11.2015 15:55 schrieb "Torsten Bonde Christiansen" <tc at epidata.info>:
>>
>> Hi.
>>
>> The docs for 3.0 does not directly mention generics and inheriting from
> another generic class, but I tried out with the code below.
>> It compiled, ran and worked fine but since the docs do not explicit
> mention it as a posibility I am a little reluctant to go forward using this
> strategy if is not meant to work...
>
> Yes, that's supposed to work :)

I will add this to the documentation.

Michael.



More information about the fpc-pascal mailing list