Am Di., 27. Nov. 2018, 15:08 hat Ryan Joseph <r...@thealchemistguild.com>
geschrieben:

> > You did read the part about the generic and the specialization being
> located in two different units? ๐Ÿ˜‰
>
> Oops. This still works so I guess itโ€™s ok.
>
> program gc_ppu;
> uses
>         gc_types_unit;
>
> var
>         a: specialize TList<Integer,10>;
> begin
>         a.dothis('hello');
> end.
>

Does it also work correctly if you change the constant and then recompile?
The same if the specialization is inside another unit used by the program?

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to