General

Profile

ddebernardy (Denis de Bernardy)

Issues

Activity

11/09/2012

02:32 AM Ruby master Bug #6037: #freeze bug
Adding a note in case someone new to ruby ever wonders why it got rejected.
>> array = ['a', 'b'].freeze
=> ...
ddebernardy (Denis de Bernardy)

03/03/2012

11:03 PM Ruby master Feature #5484: regexp comparison bug
Well, I originally reported it as a bug, since I got bit by it. I can't recall the context let alone the specifics.
...
ddebernardy (Denis de Bernardy)

02/28/2012

02:03 AM Ruby master Bug #6097 (Rejected): Weird constant behavior during inheritance...
>> class Parent
>> class Child
>> def foo
>> end
>> end
>> end
=> nil
>> class Test < Parent
>> end
=> nil
...
ddebernardy (Denis de Bernardy)
01:56 AM Ruby master Feature #6096 (Rejected): Parser tweak - curly braces followed by a coma...
It would be sweet if ruby treated curly braces followed by a coma as a hash rather than as a coma:
>> def foo(bar,...
ddebernardy (Denis de Bernardy)

02/17/2012

04:17 AM Ruby master Bug #6039: lambda vs proc; #to_ary w/ splat bug
Possibly related: http://bugs.ruby-lang.org/issues/5694 ddebernardy (Denis de Bernardy)
04:09 AM Ruby master Bug #6039: lambda vs proc; #to_ary w/ splat bug
Possibly related:
http://bugs.ruby-lang.org/issues/5759
ddebernardy (Denis de Bernardy)
03:59 AM Ruby master Bug #6039 (Rejected): lambda vs proc; #to_ary w/ splat bug
to_ary apparently gets called in edge cases when a proc has a splat argument:
good = Class.new do
def to_ary
...
ddebernardy (Denis de Bernardy)
04:17 AM Ruby master Bug #5694: Proc#arity doesn't take optional arguments into account.
Possibly related: http://bugs.ruby-lang.org/issues/6039 ddebernardy (Denis de Bernardy)
04:09 AM Ruby master Bug #5759: flatten calls to_ary on everything
Possibly related:
http://bugs.ruby-lang.org/issues/6039
ddebernardy (Denis de Bernardy)
03:57 AM Ruby master Bug #6038 (Closed): #instance_eval bug
instance_eval seems to change the object_id in some cases:
begin
stack = []
do_stuff = lambda do |&chain|
...
ddebernardy (Denis de Bernardy)

Also available in: Atom