Sven, Correct me if I'm wrong, but didn't you add support for class/record helpers on generics? For example I'd like to be able to add methods to dynamic arrays:
type TArray<T> = array of <T>; TCompare<T> = function(constref A, B: T): Integer; TArrayHelper<T> = record helper for TArray<T> private ... public procedure Sort(Compare: TCompare); function First: T; function Last: T; function Random: T; // and so on end; As it is right now the compiler will not allow this.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal