General

Profile

charlton (Charlton Wang)

Issues

Activity

04/18/2015

05:39 AM Ruby master Bug #11074 (Rejected): Block with optional parameter of same closure variable name
~~~ruby
def bar
yield
end
x = 3
bar do |x=x|
x
end
=> nil
bar do |y=x|
x
end
=> 3
~~~
So perhaps...
charlton (Charlton Wang)

02/02/2012

01:49 PM Ruby master Bug #5930: source_location of blocks incorrect
Yusuke Endoh wrote:
> Do you really like the old behavior? Line 8 points
> the end of the block. I prefer the be...
charlton (Charlton Wang)

01/26/2012

02:36 PM Ruby master Bug #5930: source_location of blocks incorrect
I've verified this behaviour under the following versions:
works: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-d...
charlton (Charlton Wang)
02:15 PM Ruby master Bug #5930 (Closed): source_location of blocks incorrect
Similar to bug #2427 but maybe the opposite problem. Newer versions of ruby appear to store the source locations of b... charlton (Charlton Wang)

07/22/2011

12:15 AM Ruby master Bug #4058: __method__ does not return correct method name for aliased methods
Is there any hope of getting __callee__ functionality back at some point? I tried to write a ruby extension that prov... charlton (Charlton Wang)

07/24/2009

06:01 AM Ruby master Bug #1813: Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
I should have realized that the 1.9 series uses native threads and I suspect that's likely the cause (presuma...
charlton (Charlton Wang)
05:55 AM Ruby master Bug #1813 (Closed): Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
I'm not sure if there is a thread stack limitation change that is new to 1.9.1 but the following code now ca...
charlton (Charlton Wang)

Also available in: Atom