Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre1
Assignee: Unassigned
Components: Interpreter
Created: 19/Jul/12 3:04 AM
Description:

Sorry if this is already fixed in trunk. Is there an easy way to build the trunk version with Homebrew?

def f
yield([0], *[])
end

f{ |x| p x } # x should be [0] instead of 0

$ jruby --1.9 -v bug.rb
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java]
0

$ ruby -v bug.rb
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
[0]

$ rbx -X19 -v bug.rb
rubinius 2.0.0dev (1.9.3 release yyyy-mm-dd JI) [x86_64-apple-darwin10.8.0]
[0]

Environment: jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java]
Project: JRuby
Priority: Major Major
Reporter: Lin Jen-Shin
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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