[1.9] YAML anchors & alias merging regression
---------------------------------------------

                 Key: JRUBY-5396
                 URL: http://jira.codehaus.org/browse/JRUBY-5396
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9
         Environment: jruby 1.6.0.RC1 (ruby 1.9.2 patchlevel 136) (2011-01-20 
36b741d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
            Reporter: Matt Fletcher
            Assignee: Thomas E Enebo
         Attachments: test_yaml_merging.rb

Important note: this bug is showing up in the latest HEAD, but does not happen 
in 1.6.0 RC1.

Attached is a test case where two hashes are defined: defaults and production. 
The production hash attempts to merge in the contents of the defaults hash 
using the <<: syntax. After the merge, the production hash only has the 
contents of the defaults hash--the other stuff in production is lost.

This test passes in MRI 1.9.2, JRuby 1.6.0 RC1, and JRuby HEAD --1.8. It fails 
under JRuby HEAD --1.9.

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