Issue #11108 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Closed

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

* 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: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
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/