Regression: error serializing array of objects with custom to_yaml def to yaml
------------------------------------------------------------------------------

                 Key: JRUBY-3120
                 URL: http://jira.codehaus.org/browse/JRUBY-3120
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1.5
         Environment: Soylatte 1.0.3
            Reporter: Michael S. Allman
         Attachments: yaml_bug.rb

Running the attached yaml_bug.rb through jruby produces the error

yaml_bug.rb:15: wrong argument type String (expected YAML::JvYAML::Node) 
(TypeError)

I believe this is the result of the following change:

http://svn.jruby.codehaus.org/browse/jruby/trunk/jruby/src/builtin/yaml.rb?r1=7465&r2=7587

This was working in JRuby 1.1.4.

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