diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-14 18:53:40 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-14 18:53:40 +0000 |
commit | a48f90b05b654cc98727a91c5fd9952c5a86221c (patch) | |
tree | 1f1c3bfccf90207a542fce694d9040315457bfe1 /array.c | |
parent | 766df600db46f3cc8a2bd0c0af2dfceeec2d8fb3 (diff) | |
download | ruby-a48f90b05b654cc98727a91c5fd9952c5a86221c.tar.gz |
* hash.c (rb_hash): always return a fixnum value because a return
value of rb_hash may be used as a hash value itself and bignums have
no unique VALUE.
* test/ruby/test_hash.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions