Issue #10444 has been updated by Marc-Andre Lafortune.

Status changed from Open to Feedback

I feel the idea is similar to #10445 (although not as dubious)

I'm curious as to when one would want to do this and actually get a Vector.

----------------------------------------
Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range.
https://bugs.ruby-lang.org/issues/10444#change-50015

* Author: gogo tanaka
* Status: Feedback
* Priority: Normal
* Assignee: Marc-Andre Lafortune
* Category: lib
* Target version: current: 2.2.0
----------------------------------------
Hi, it's incompatible change little bit.

Before
```
Vector[1,2,3][0..1]
=> [1, 2]
```

After 
```
Vector[1,2,3][0..1]
=> Vector[1, 2]
```

I'm not in a hurry. Take your time.

---Files--------------------------------
implement_matrix.rb.patch (1.3 KB)
add_test.patch (820 Bytes)
update_NEWS.patch (736 Bytes)


-- 
https://bugs.ruby-lang.org/