From: shyouhei@... Date: 2017-04-17T05:35:40+00:00 Subject: [ruby-core:80715] [Ruby trunk Bug#13181] Unexpected line in rescue backtrace Issue #13181 has been updated by shyouhei (Shyouhei Urabe). Assignee changed from nobu (Nobuyoshi Nakada) to ko1 (Koichi Sasada) ---------------------------------------- Bug #13181: Unexpected line in rescue backtrace https://bugs.ruby-lang.org/issues/13181#change-64265 * Author: tsmith (Tim Smith) * Status: Assigned * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: * ruby -v: * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- ~~~ ruby def foo # 1 puts 'hello' # 2 raise 'x' # 3 puts 'goodbye' # 4 rescue # 5 raise 'y' # 6 end # 7 # 8 foo # 9 ~~~ ~~~ hello backtrace.rb:6:in `rescue in foo': y (RuntimeError) from backtrace.rb:2:in `foo' from backtrace.rb:9:in `
' ~~~ I expect line 6 and line 9 in the backtrace, but not line 2. -- https://bugs.ruby-lang.org/ Unsubscribe: