Array#join behaves inconsistently on recursive arrays
-----------------------------------------------------

                 Key: JRUBY-1210
                 URL: http://jira.codehaus.org/browse/JRUBY-1210
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.0
            Reporter: Marcin Mielżyński


a test case:

a = []
a << [a]
a << 1
p a
p a.join

should give (MRI):
[[[...]], 1]
"[...]1"

but gives:
[[[...]], 1]
"[...]11"


-- 
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