<div>Welcome to five years old bug. :)</div><div><a href="http://bugs.freepascal.org/view.php?id=20503">http://bugs.freepascal.org/view.php?id=20503</a></div><div> </div><div>Dmitriy Pomerantsev.</div><div> </div><div>31.12.2016, 09:08, "Gennady Agranov" <gennadyagranov@gmail.com>:</div><blockquote type="cite"><div bgcolor="#FFFFFF"><br />but if i call it from another generic type - it does not compile:<p>class procedure Arrays<T>.sort(var arr: array of T; const Comparer: IComparer<T>);</p>_______________________________________________</div><p>fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br /><a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a></p></blockquote>