Array block args not expanded when calling explicit block argument
------------------------------------------------------------------

                 Key: JRUBY-1042
                 URL: http://jira.codehaus.org/browse/JRUBY-1042
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.0.0RC2
            Reporter: Jonathan Paisley
            Priority: Minor
         Attachments: test_block_arg_expansion.diff

Calling a block given to a method with an &arg does not expand array arguments, 
whereas using plain yield does. MRI expands arrays in both cases.

Test case attached, which passes on MRI.


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