Manuscript (Case [Issue]22458) _Inbox - lastFileFor: baseFileName extension: extension randomly sorts files

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

Manuscript (Case [Issue]22458) _Inbox - lastFileFor: baseFileName extension: extension randomly sorts files

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  _Inbox: Not Spam  •  You are subscribed to this case
My code was totally bogus :(

^ (files asSortedCollection: [ :a :b | ((a basename splitOn: $.) at: 2) asNumber <
((b basename splitOn: $.) at: 2) asNumber ]) last

is the correct behavior and of course I was lame not to write a test.
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