Re: [fpc-devel] Problem with generic parameter

2017-01-01 Thread Thorsten Engler
Hi, Independent of what Delphi may support or not (and I agree that at a minimum in $mode Delphi fpc should not require that IFDEF)… in a modern compiler I would expect the generic type parameter to be optional in this specific scenario and the compiler infer it from the type of the

Re: [fpc-devel] Problem with generic parameter

2017-01-01 Thread Gennady Agranov
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.BinarySearch(changes.m_children,node,j,getComparatorByName) then {$else} if