Rollo62 536 Posted June 2, 2021 (edited) Hi there, I checked the latest Spring4D master, and it seems that the TPair<K,V> was removed from Spring.Collections.pas TPair<TKey, TValue> = packed record Key: TKey; Value: TValue; constructor Create(const key: TKey; const value: TValue); end; I know this was redundant in System.Generics.Collections.pas, but now I have to include this unit to get access to TPair. From the philosophy of S4D I understood that Spring.Collections should be able to replace the System.Generics.Collections in the long run completely, so I wonder why this TPair was removed then, its used in many places. That means I need to keep a reference to both units now, if I need this. Does this really make sense, why was it removed, and why not for example moved, separated into another Spring unit ? Edited June 2, 2021 by Rollo62 Share this post Link to post
Stefan Glienke 2006 Posted June 2, 2021 1.2 never had TPair - it got introduced in develop and will be in 2.0 Share this post Link to post
Rollo62 536 Posted June 2, 2021 (edited) Ok, thanks. So I thought the new released master is a newer one, and included all from the development branch. Then I better stay with the development branch. Edited June 2, 2021 by Rollo62 Share this post Link to post
Stefan Glienke 2006 Posted June 2, 2021 There is no new released master - there was one single commit for an inc file to fix a compiler issue on OSX64 Share this post Link to post
Rollo62 536 Posted June 2, 2021 Oooh yes, maybe its too late and hot right now 🙂 Share this post Link to post