rubinius/rubinius — Issue #1312: RBX exits without handling LocalJumpError exception in closure
Author: chuckremes
Created: 2011-10-20 15:50:54+00:00
State: open

https://gist.github.com/1301471

Adding a "return" to a Proc should produce a LocalJumpError. MRI catches this exception and prints it out. RBX just exits.

Example came from http://innig.net/software/ruby/closures-in-ruby.rb