Set .include? method behavior differs between JRuby 1.1.3 and Ruby 1.8.7
------------------------------------------------------------------------

                 Key: JRUBY-2866
                 URL: http://jira.codehaus.org/browse/JRUBY-2866
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.3
         Environment: All
            Reporter: Tres Spicher
         Attachments: setbehavior.rb

In Ruby 1.8.6 and JRuby 1.1.3, set inclusion is apparently handled through 
object identity. In 1.8.7, it is handled in a way that better resembles the 
mathematical concept of a set. A piece of code exhibiting the behavior is 
attached.

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