Inconsistent aliasing in Array - map! and collect!
--------------------------------------------------

                 Key: JRUBY-5298
                 URL: http://jira.codehaus.org/browse/JRUBY-5298
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.5.6
         Environment: jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 
9cf97c3) (Java HotSpot(TM) Client VM 1.6.0_03-p3) [i386-java]
            Reporter: Daniel Berger
            Priority: Minor


If map and collect are aliases, map! and collect! ought to be too, right?
{code}
irb(main):002:0> Array.instance_method(:map) == Array.instance_method(:collect)
=> true
irb(main):003:0> Array.instance_method(:map!) == 
Array.instance_method(:collect!)
=> false
{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