Skip to content

Commit

Permalink
Fixed HAMT Hash#select to work on frozen hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
sshao committed Jan 27, 2015
1 parent 03a27f9 commit 4ae051b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/common/hash_hamt.rb
Expand Up @@ -814,8 +814,6 @@ def replace(other)
def select
return to_enum(:select) unless block_given?

Rubinius.check_frozen

hsh = Hash.allocate

each_item do |e|
Expand Down

0 comments on commit 4ae051b

Please sign in to comment.