General

Profile

tmat (Tomas Matousek)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 23 23

Activity

11/15/2010

05:51 AM Ruby master Bug #4056 (Rejected): Crash in non-blocking read
=begin
Ruby crashes when executing the attached script (a.rb).
See crash details attached in crash.log.
=end
tmat (Tomas Matousek)

09/06/2010

07:01 AM Ruby master Bug #3792 (Closed): Procs created via Method#to_proc and Symbol#to_proc don't pass a block thru
=begin
class C
def foo
yield
end
end

f = :foo.to_proc
f.(C.new) { puts 'bar' } rescue p $!
...
tmat (Tomas Matousek)

08/13/2010

08:53 AM Ruby master Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
Let's say I call File.open(C.new) where
class C
def to_str; "a.txt"; end
def method_missing name, ...
tmat (Tomas Matousek)
06:23 AM Ruby master Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I'm confused. You're saying that in 1.9.2+ splatting operators don't call respond_to?(:to_a/:to_ary)? Almost ...
tmat (Tomas Matousek)
02:36 AM Ruby master Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
OK, so this seems to be fixed. I haven't found more recent binaries for Windows than 1.9.1 so I can't test th...
tmat (Tomas Matousek)
01:37 AM Ruby master Feature #3680: Splatting calls to_ary instead of to_a in some cases
=begin
I see, so there is implicit and explicit splatting. The former uses to_ary the latter to_a.

So the spla...
tmat (Tomas Matousek)

08/12/2010

12:39 AM Ruby master Feature #3680 (Rejected): Splatting calls to_ary instead of to_a in some cases
=begin
In some cases to_ary is called to splat an array. Shouldn't to_a be always called?

class C
def respo...
tmat (Tomas Matousek)

08/04/2010

07:40 AM Backport191 Backport #3651 (Closed): Crash when passing a block in an array indexer
=begin
This code crashes the interpreter:

z = lambda {}
x = [1,2,3,4,5]
x[1, 2, &z] += 1


[BUG] Seg...
tmat (Tomas Matousek)

07/30/2010

03:37 PM Backport193 Backport #3629: expand_path doesn't expand "~a"
=begin
So how do you detect whether a user dir exists or not or Windows then? Or do you throw on Windows for any use...
tmat (Tomas Matousek)
10:48 AM Backport193 Backport #3629: expand_path doesn't expand "~a"
=begin
I see. Then on Windows it might check for existence of directory ENV[HOME]/../a. I guess that might be a good...
tmat (Tomas Matousek)

Also available in: Atom