blocks with var args does not work the same as MRI or JRuby 1.0.1 when the 
argument supplied is an array
--------------------------------------------------------------------------------------------------------

                 Key: JRUBY-1468
                 URL: http://jira.codehaus.org/browse/JRUBY-1468
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.x
         Environment: trunk (4673), Windows XP, JRE 1.6.0.0_02
            Reporter: Pat Cheng
            Assignee: Thomas E Enebo
         Attachments: test_var_arg_block.rb

Wih the following code:
Proc.new { |*element| assert_equal [["a"]], element }.call( ["a"] )

in MRI and JRuby 1.0.1, element is actually [["a"]]

in trunk, element is actually ["a"]




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