StopIteration does not propagate a result #3542

Closed
kares opened this Issue Dec 15, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@kares
Member

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 9.0.5.0 milestone Dec 15, 2015

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

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

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