Project

General

Profile

« Previous | Next » 

Revision ee3e66e7

Added by naruse (Yui NARUSE) over 15 years ago

Merged r22308. [ruby-dev:39637]

  • 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_8@25661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e