block parameter problem
-----------------------
Key: JRUBY-3722
URL: http://jira.codehaus.org/browse/JRUBY-3722
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9
Affects Versions: JRuby 1.3RC2
Environment: jruby 1.3.0RC2 (ruby 1.8.6p287) (2009-05-27 46598e4)
(Java HotSpot(TM) Client VM 1.6.0_11) [i386-java] run from Ubuntu 9.04
Reporter: Douglas Koszerek
Assignee: Thomas E Enebo
> cat example1.rb
hash1 = {1 => [10,100]}
hash1.each do |k1, v1|
puts k1.class
end
> ruby19 -v
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
> ruby19 example1.rb
Fixnum
> jruby -v
jruby 1.3.0RC2 (ruby 1.8.6p287) (2009-05-27 46598e4) (Java HotSpot(TM) Client
VM 1.6.0_11) [i386-java]
> jruby --1.9 example1.rb
Array
Is this a bug in MRI or JRuby?
--
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