> On Jan 8, 2019, at 3:49 PM, Benito van der Zander <ben...@benibela.de> wrote: > > that reminds me of https://bugs.freepascal.org/view.php?id=34232
In this case maybe generics should just not give range errors unless they’re specialized? This bug and the problem I have are only for unspecialized generics. That would be the easiest and laziest thing to do but it would mean this would compile: type generic TList<T> = record list: array[0..0-1] of integer; end; Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal