[1.9] splat of array at front of assignment broken (same for other grammatical
constructs)
------------------------------------------------------------------------------------------
Key: JRUBY-3303
URL: http://jira.codehaus.org/browse/JRUBY-3303
Project: JRuby
Issue Type: Bug
Components: Parser
Affects Versions: JRuby 1.1.6
Reporter: Thomas E Enebo
Assignee: Thomas E Enebo
{noformat}
a = [1,2]
b = *a, 2
p b
{noformat}
This should equal '[1, 2, 2]' but is [[1,2], 2]. I need splats working
properly on 1.9 so I can copy this logic in refactoring case/when nodes in 1.8
so I may as well fix this sooner than later. If splat is later in the chain
then there is no issue.
--
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