Skip to content
  • Kenta Murata's avatar
    a6a8576e
    Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241) · a6a8576e
    Kenta Murata authored
    * Support ArithmeticSequence in Array#slice
    
    * Extract rb_range_component_beg_len
    
    * Use rb_range_values to check Range object
    
    * Fix ary_make_partial_step
    
    * Fix for negative step cases
    
    * range.c: Describe the role of err argument in rb_range_component_beg_len
    
    * Raise a RangeError when an arithmetic sequence refers the outside of an array
    
    [Feature #16812]
    a6a8576e
    Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241)
    Kenta Murata authored
    * Support ArithmeticSequence in Array#slice
    
    * Extract rb_range_component_beg_len
    
    * Use rb_range_values to check Range object
    
    * Fix ary_make_partial_step
    
    * Fix for negative step cases
    
    * range.c: Describe the role of err argument in rb_range_component_beg_len
    
    * Raise a RangeError when an arithmetic sequence refers the outside of an array
    
    [Feature #16812]
Loading