Duped Enumerator raises exception in #each
------------------------------------------

                 Key: JRUBY-5013
                 URL: http://jira.codehaus.org/browse/JRUBY-5013
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5.1, JRuby 1.6
         Environment: OSX 10.6.4, JRuby 1.5.1 (and jruby-head)
            Reporter: Dan Kubb
            Assignee: Thomas E Enebo


Called #each on a duped Enumerator raises an NoMethodError exception:

{code:ruby}
[].each.dup.each  # => raises NoMethodError: undefined method `' for 
nil:NilClass
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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


Reply via email to