StopIteration does not propagate a result #3542

kares opened this Issue Dec 15, 2015 · 0 comments


None yet
1 participant

kares commented Dec 15, 2015

StopIteration#result exists (and gets filled) since Ruby 2.1

@kares kares self-assigned this Dec 15, 2015

@kares kares added this to the JRuby milestone Dec 15, 2015

kares added a commit that referenced this issue Dec 15, 2015

support throwing StopIteration with a result from Enumerator (fixes #…

also did some internal cleanup e.g. private initialize now receive the runtime
and added more asserts to go along with those from MRI's test_enumerator.rb

@kares kares closed this in b0a47d4 Dec 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment