[fpc-pascal] Constants in generics

Ryan Joseph ryan at thealchemistguild.com
Sun Jan 6 22:37:35 CET 2019


Since we introduced “const” keywords to generic params does it make sense to use an optional “type” keyword also? That just occurred to me as something worth discussing. No opinion either way except there’s a inconsistency now which may bother some people.

generic TStuff<type T; const A> = record end;

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list