Welcome to five years old bug. :) http://bugs.freepascal.org/view.php?id=20503 Dmitriy Pomerantsev.
31.12.2016, 09:08, "Gennady Agranov" <gennadyagra...@gmail.com>: > > but if i call it from another generic type - it does not compile: > > class procedure Arrays<T>.sort(var arr: array of T; const Comparer: > IComparer<T>); > > Fatal: Syntax error, "CREATE" expected but "SORT" found > > Anything I can do to make it compile? _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel