From: "ko1 (Koichi Sasada)" Date: 2012-07-14T14:36:38+09:00 Subject: [ruby-core:46411] [ruby-trunk - Bug #4323][Closed] Proc#hash is Ill-Behaved 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/