General

Profile

tsmith (Tim Smith)

Issues

Activity

02/02/2017

05:54 AM Ruby master Bug #13181 (Closed): Unexpected line in rescue backtrace
~~~ ruby
def foo # 1
puts 'hello' # 2
raise 'x' # 3
puts 'goodbye' # 4
rescue ...
tsmith (Tim Smith)

09/17/2015

04:55 PM Ruby master Feature #11534: Circular assignment / method shadowing unexpected behavior
Then consider it a feature request ;) First evaluate the righthand side, then make the variable. tsmith (Tim Smith)

09/16/2015

11:18 PM Ruby master Feature #11534 (Rejected): Circular assignment / method shadowing unexpected behavior
~~~ruby
def foo
1
end
puts foo + 1
bar = foo + 1
puts bar
foo = foo + 1
puts foo
~~~
~~~
# EXPEC...
tsmith (Tim Smith)

Also available in: Atom