Manuscript (Case [Issue]22573) _Inbox - Halt>>ifCondition: aBlock inCallSelector: aSelector

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22573) _Inbox - Halt>>ifCondition: aBlock inCallSelector: aSelector

Pharo Issue Tracker
Manuscript Notification
avatar
Enhancement in Project:  _Inbox: Not Spam  •  You are subscribed to this case
used it like that

hasEqualElements: otherCollection
"Answer whether the receiver's size is the same as otherCollection's
size, and each of the receiver's elements equal the corresponding
element of otherCollection.
This should probably replace the current definition of #= ."

| size |
(otherCollection isKindOf: SequenceableCollection) ifFalse: [^ false].
(size := self size) = otherCollection size ifFalse: [^ false].
1 to: size do:
[:index |
Halt ifCondition: [ ((self at: index) = (otherCollection at: index)) not ] inCallSelector: #testParse.
(self at: index) = (otherCollection at: index) ifFalse: [^ false]].
^ true
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker