[fpc-pascal] Constants in generics
ryan at thealchemistguild.com
Tue Nov 27 14:35:50 CET 2018
> On Nov 27, 2018, at 8:11 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> We can add a new message that says "type id or untyped constant expected". But if it correctly errors right now, we can leave it be for now.
Fine by me.
> 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.
a: specialize TList<Integer,10>;
More information about the fpc-pascal