Actions
Bug #21285
closedRange#overlap? returns false for (nil..nil)
Description
I've notices the following edge case:
(..1).overlap?(nil..nil)
=> false
But I expect true
Actions
Like0
Like0Like0Like0
Added by andrykonchin (Andrew Konchin) 2 months ago. Updated 2 months ago.
Description
I've notices the following edge case:
(..1).overlap?(nil..nil)
=> false
But I expect true
I believe it is already fixed.
Yeah, indeed. I was fixed in https://github.com/ruby/ruby/pull/12937. Thank you.