Actions
Bug #19426
closedEndless `Range#step` of object with `#succ` method does not work
Bug #19426:
Endless `Range#step` of object with `#succ` method does not work
Actions
Added by nobu (Nobuyoshi Nakada) over 3 years ago. Updated over 1 year ago.
Error was caused because the definition of <=> does not conform to the expectation that it should return nil for incomparable objects.
Matz.
I agree with moving nil comparison.
Matz.
ruby_3_2 commit:89eacd31b7565aa45b9c9af4b475cf908830e41c merged revision(s) da4464b824857d7610f9865ceb452ce0ead49164.