General

Profile

fdr (Daniel Farina)

  • Login: fdr
  • Email: daniel@fdr.io
  • Registered on: 01/01/2014
  • Last sign in: 01/01/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/01/2014

12:47 PM Ruby Bug #9335: dynamic rescue regression in Ruby 2.1
Some other person on the internet also took the time to track this change in behaviors over time:
https://gist.github.com/gmallard/7034128
fdr (Daniel Farina)
12:44 PM Ruby Bug #9335: dynamic rescue regression in Ruby 2.1
This seems to apply to 2.0 as well. Here's the commit found by git bisect:
commit 93b6f8d6195564d0884ee00f536a951f4c26288c
Author: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed Aug 8 07:52:19 2012 +0000
* compil...
fdr (Daniel Farina)
11:20 AM Ruby Bug #9335 (Rejected): dynamic rescue regression in Ruby 2.1
The following type of rescue block appears broken:
begin
raise 'hello'
rescue ->(e) { true }
end
In Ruby 1.9.3p484, this exits with a normal exit code and no output.
On Ruby 2.1.0, it instead yields:
/tmp/badin21.rb:4:in...
fdr (Daniel Farina)

Also available in: Atom