Am Di., 27. Nov. 2018, 15:08 hat Ryan Joseph <[email protected]>
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 - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal