Skip to content

break in blocks doesn't work properly in some cases #270

kronos opened this Issue Apr 20, 2010 · 1 comment

2 participants

Rubinius member
kronos commented Apr 20, 2010
def get_block(&block)

get_block{break}.call # => should raise LocalJumpError exception
Rubinius member
evanphx commented May 5, 2010

Won't fix. In our opinion, break returning the caller of get_block is proper.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.