General

Profile

dkubb (Dan Kubb)

Issues

Activity

03/17/2012

12:48 AM Ruby master Bug #6155: Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
> > [1, 2, 3].flat_map { |n| n }.to_a
>
> I doubt that this behavior of Enumerable#flat_map is reasonable.
I ...
dkubb (Dan Kubb)

03/16/2012

03:23 PM Ruby master Bug #6157 (Closed): Enumerable::Lazy#select does not handle multiple yield arguments
When the #each method yields more than one argument, Enumerable::Lazy#select only accepts the first argument, e.g.:
...
dkubb (Dan Kubb)
02:53 PM Ruby master Bug #6155 (Closed): Enumerable::Lazy#flat_map raises an exception when an element does not respond to #each
The following statement will raise "NoMethodError: undefined method `each' for 1:Fixnum":
[1, 2, 3].lazy.flat_ma...
dkubb (Dan Kubb)

03/03/2012

05:42 PM Ruby master Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
Under ruby-head, when calling #respond_to? on another object of the same type false is always returned, even though t... dkubb (Dan Kubb)

Also available in: Atom