[ruby-core:62837] [ruby-trunk - Bug #9570] Something wrong with Enumerator#size ?

From: nagachika00@...
Date: 2014-05-29 12:09:42 UTC
List: ruby-core #62837
Issue #9570 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3:=
 DONTNEED, 2.0.0: DONE, 2.1: DONE

r45187, r45205, r45206, r45212 and r45213 were backported into `ruby_2_1` a=
t 46226.

----------------------------------------
Bug #9570: Something wrong with Enumerator#size ?
https://bugs.ruby-lang.org/issues/9570#change-46957

* Author: =E4=B8=9C =E8=AE=B8
* Status: Closed
* Priority: Normal
* Assignee: Marc-Andre Lafortune
* Category: core
* Target version: current: 2.2.0
* ruby -v: Ruby 2.0.0-p451
* Backport: 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: DONE
----------------------------------------
enum =3D 2.step(1, 3)
enum.size  #=3D> 1

It should be 0, shouldn't it? ( Windows )



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

In This Thread

Prev Next