Multiple assignment with splatted LHS fails to call #to_ary on corresponding 
object
-----------------------------------------------------------------------------------

                 Key: JRUBY-6129
                 URL: https://jira.codehaus.org/browse/JRUBY-6129
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.7
         Environment: --1.9
            Reporter: Martin Harriman
            Assignee: Thomas E Enebo


In this assignment:
{noformat}
a,(*b),c = 5,x
{noformat}
In MRI 1.9.2, b gets x.to_ary; in JRuby 1.7.0 (1.9 mode), b gets x.

See rubyspec/language/variables_spec.rb


--
This message is automatically generated by JIRA.
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