Yaml.load returns obects of different type compared to MRI
----------------------------------------------------------

                 Key: JRUBY-1766
                 URL: http://jira.codehaus.org/browse/JRUBY-1766
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.x
         Environment: Latest JRuby 1.1b1 from trunk
            Reporter: Vladimir Sizikov


Consider the following example:

{noformat}
p YAML.load("{a: 2007-01-01 01:12:34}")["a"].class
{noformat}

MRI, Rubinius return:
String

JRuby returns:
Time

This leads to various tests in activesupport to fail.

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