[19] to_ary not being called
----------------------------

                 Key: JRUBY-5947
                 URL: https://jira.codehaus.org/browse/JRUBY-5947
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6.3
            Reporter: Thomas E Enebo
             Fix For: JRuby 1.6.4


{noformat}
jruby -X-C --1.9 -e 'class Foo; def to_ary; [1, 2]; end; end; [Foo.new].each { 
|a,b| p a,b }'
{noformat}

This only is broken in 1.9 mode.

--
This message is automatically generated by JIRA.
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