mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 09:33:59 +02:00
follow-up for 3faef1d40d
.
This commit is contained in:
parent
90a44bcd39
commit
9f1e18a138
1 changed files with 1 additions and 1 deletions
2
hash.c
2
hash.c
|
@ -4238,7 +4238,7 @@ rb_hash_assoc(VALUE hash, VALUE key)
|
|||
table = RHASH_ST_TABLE(hash);
|
||||
orighash = table->type;
|
||||
|
||||
if (!RHASH_IDENTHASH_P(orighash)) {
|
||||
if (!RHASH_IDENTHASH_P(hash)) {
|
||||
VALUE value;
|
||||
struct reset_hash_type_arg ensure_arg;
|
||||
struct st_hash_type assochash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue