Issue #11108 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into ruby_2_2 branch at r50563.

----------------------------------------
Bug #11108: Unexpected LocalJumpError from "break" in nested begin block
https://bugs.ruby-lang.org/issues/11108#change-52505

* Author: Yoshihisa Masuda
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
The script below raises an unexpected "`LocalJumpError`".

```ruby
%w(a b c).each { |c|
  p c
  begin
    raise
  rescue => e
    begin
      raise
    rescue => e
      break
    end
  end
}
```




-- 
https://bugs.ruby-lang.org/