> On Nov 27, 2018, at 8:11 PM, Sven Barth via fpc-pascal > <fpc-pascal@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. program gc_ppu; uses gc_types_unit; var a: specialize TList<Integer,10>; begin a.dothis('hello'); end. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal