Project

General

Profile

« Previous | Next » 

Revision dcb37d06

Added by mrkn (Kenta Murata) about 5 years ago

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