Issue #15443 has been reported by ana06 (Ana Maria Martinez Gomez).

----------------------------------------
Bug #15443: Hash#slide with infinite range gives unexpective result
https://bugs.ruby-lang.org/issues/15443

* Author: ana06 (Ana Maria Martinez Gomez)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: trunk 2.6
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
`{ 1 => :a, 2 => :b, 3 => :c }.slice(2..)` returns `{}`. I had expected that it retuns `{2=>:b, 3=>:c}` instead.




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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>