You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime recently a change occurred between stable versions of Pharo 12 ... SpCollectionListModel>>#indexOf:ifAbsent: changed from using indexOf:ifAbsent: to identityIndexOf:ifAbsent:.
I'm not sure prompted the change but it, at best, isn't helpful because a number of my tests broke when string identity equality was suddenly required. Simple selections like below broke because the strings weren't identical.
Hi @ericwinger
Thank you for the report.
I faced the same problem. It has already been fixed in Pharo 13. I proposed a fix for Pharo 12: see #1681
It is waiting for integration @estebanlm
Sometime recently a change occurred between stable versions of Pharo 12 ...
SpCollectionListModel>>#indexOf:ifAbsent:
changed from using indexOf:ifAbsent: to identityIndexOf:ifAbsent:.I'm not sure prompted the change but it, at best, isn't helpful because a number of my tests broke when string identity equality was suddenly required. Simple selections like below broke because the strings weren't identical.
Finding the problem was daunting. It would be helpful if index lookup in collections was reverted to simple equality comparison.
Comparing methods:
Pharo 12.0.0
Build information: Pharo-12.0.0+SNAPSHOT.build.1523.sha.3fd20c14be4ec63710f40bb8eb486e1eaf262af2 (64 Bit)
Pharo 12.0.0
Build information: Pharo-12.0.0+SNAPSHOT.build.1542.sha.bf940cf78c64105fcd27fc961d34c9163e548146 (64 Bit)
The text was updated successfully, but these errors were encountered: