General

Profile

mike@carltons.us (Mike Carlton)

  • Login: mike@carltons.us
  • Email: mike@carltons.us
  • Registered on: 02/11/2022
  • Last sign in: 11/23/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/14/2022

05:57 AM Ruby Bug #18582: Hash.group_by not grouping correctly with SortedSets
Ah, I had tried method_defined?, but it returns true (for inherited Kernel#eql?)
I did not realized that method_defined? also accepted a inherited=false argument.
Thank you.
mike@carltons.us (Mike Carlton)

02/11/2022

09:08 PM Ruby Bug #18582: Hash.group_by not grouping correctly with SortedSets
Thank you very much Nobu for your quick response.
For anyone who stumbles upon this page, I used this quick and dirty monkey patch to add the necessary functionality to RBTree (until RBTree is updated); with this SortedSet works as expe...
mike@carltons.us (Mike Carlton)
02:39 AM Ruby Bug #18582 (Third Party's Issue): Hash.group_by not grouping correctly with SortedSets
With Ruby 3.0.3, when using SortedSets as group_by value for Hash, equal SortedSets are not grouped as they should be.
This works correctly in Ruby 2.7.1 (when rbtree gem is not present, not tested with rbtree gem)
This works correct...
mike@carltons.us (Mike Carlton)

Also available in: Atom