Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
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
Original file line number Diff line number Diff line change
@@ -783,8 +783,6 @@ def replace(other)
def select
return to_enum(:select) unless block_given?

Rubinius.check_frozen

selected = []

each_item do |e|

0 comments on commit a26e1fa

Please sign in to comment.