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
Conflicts:
	kernel/common/hash_hamt.rb
  • Loading branch information
sshao committed Jan 27, 2015
1 parent bf21a6b commit a26e1fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/common/hash_hamt.rb
Expand Up @@ -783,8 +783,6 @@ def replace(other)
def select
return to_enum(:select) unless block_given?

Rubinius.check_frozen

selected = []

each_item do |e|
Expand Down

0 comments on commit a26e1fa

Please sign in to comment.