Am Fr., 15. Feb. 2019, 20:58 hat Ryan Joseph <r...@thealchemistguild.com> geschrieben:
> > > > On Feb 15, 2019, at 2:11 PM, Ryan Joseph <r...@thealchemistguild.com> > wrote: > > > > Also I just noticed that I’m getting warnings from the “U” constant > which is declared in the “strict private” section (Private const > "TTest$1.U" never used). That needs to be fixed also. Sven or some other > compiler guy, do you know how to silence that warning? > > Upon further testing this warning is in all generics. Was this warning > intentional? Should it stand for constants also? > Yes and yes :) The type parameters must not be visible in subclasses except the generic deems it so by using a type (or now constant) alias. This is Delphi compatible. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal