Am 01.01.2017 21:23 schrieb "Gennady Agranov" <gennadyagra...@gmail.com>: > > Hi Sven, > > Based on bug#20503 you are in charge of support for "generics"? > Thanks a lot for your work! > > What about this incompatibility - is it a known issue? > > {$ifdef FPC} > if Arrays<TTreeNode>.BinarySearch(changes.m_children,node,j,getComparatorByName) then > {$else} > if Arrays.BinarySearch<TTreeNode>(changes.m_children,node,j,getComparatorByName) then > {$endif}
Sounds like generic methods, so you could try with trunk. And it wasn't an incompatibility per se, but a feature we hadn't implemented. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel