Time#<=> behavior is incompatible with MRI
------------------------------------------

                 Key: JRUBY-2056
                 URL: http://jira.codehaus.org/browse/JRUBY-2056
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC1
         Environment: Latest MRI 1.1RC1 from trunk.
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov


{noformat}
Time.at(100) <=> 100
{noformat}

Returns nil in MRI 1.8.6 p111, 1.8.6 latest, 1.9 trunk.
But returns true in JRuby.
See also
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/15333

I've already added rubyspecs for this case, so they fail now. ;)

Fix is coming.

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