diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2023-09-15 16:58:26 -0700 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2023-09-16 16:02:31 +0100 |
| commit | 25711683e86271385e8abe09a9c03782000e48db (patch) | |
| tree | a098c740667e40cc626562abb365f5e74c3324cc /include/ruby/io | |
| parent | 8835ca23c138b2fa5e883acd6b368fdc25d7ce23 (diff) | |
Fix regression when testing inclusion in unbounded ranges
Caused by 04a92a6764bf678919cf4b68a27496a39d6b886a. This treats
unbounded ranges of arbitrary objects the same as how unbounded
string ranges are treated:
(..x) === y # (y <=> x) <= 0
(...x) === y # (y <=> x) < 0
(x..) === y # (x <=> y) <= 0
Fixes [Bug #19864]
Diffstat (limited to 'include/ruby/io')
0 files changed, 0 insertions, 0 deletions
