John Pelly created JRUBY-6581:
---------------------------------
Summary: "yield called out of block" for Enumerators created with
enum_for
Key: JRUBY-6581
URL: https://jira.codehaus.org/browse/JRUBY-6581
Project: JRuby
Issue Type: Bug
Environment: jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java
HotSpot(TM) Server VM 1.7.0_02) [linux-i386-java]
Reporter: John Pelly
Assignee: Thomas E Enebo
class Foo
def each
yield 1
end
end
enum = Foo.new.enum_for
puts enum.next #fails with "yield called out of block"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email