diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-04 03:34:52 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-04 03:34:52 +0000 |
commit | dcb37d06395d996b046b755d2219c4accaac0b5f (patch) | |
tree | a3df2019683781e87946d01809b6c2975fec2555 /enumerator.c | |
parent | e59017354782c7cf599af39c6725486cca03297d (diff) |
range.c: support to make beginless arithmetic sequences
* range.c (range_step): fix the guard condition so that a beginless
range can be turned into a beginless arithmetic sequence.
* test/ruby/test_range.rb (test_step): add assertions for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
0 files changed, 0 insertions, 0 deletions