Issue #4323 has been updated by ko1 (Koichi Sasada).

Status changed from Assigned to Closed

See http://bugs.ruby-lang.org/issues/4559
----------------------------------------
Bug #4323: Proc#hash is Ill-Behaved
https://bugs.ruby-lang.org/issues/4323#change-28030

Author: runpaint (Run Paint Run Run)
Status: Closed
Priority: Low
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: 
ruby -v: ruby 1.9.3dev (2011-01-19 trunk 30597) [x86_64-linux]


=begin
 Proc#hash is not predictable for receivers that are #eql?
 
     irb> ->{}.hash
     => -1250381286238705236
     irb> ->{}.hash
     => 2684657672161532106
     irb> ->{true}.hash
     => -2939885723276364833
     irb> ->{true}.hash
     => -3124033653404588619
     irb> proc{}.hash
     => -47014914982973166
     irb> proc{}.hash
     => -744699484074399895
=end



-- 
http://bugs.ruby-lang.org/