Project

General

Profile

« Previous | Next » 

Revision 149d2471

Added by yugui (Yuki Sonoda) almost 16 years ago

merges r22308 from trunk into ruby_1_9_1.

  • 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/branches/ruby_1_9_1@25938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e