Project

General

Profile

Backport #9576

Backport r44370 to revert Hash#reject behavior

Added by sorah Shota Fukumori almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
[ruby-core:61137]

Description

In [Bug #9223], naruse-san rejected incompatible change due to HashWithIndifferentAccess.

r44358 had changed constant name, but there was one ifdef condition still use old constant name.
r44370 fixes it to correct one, but it's not backported to 2.1.1.

So HashWithIndifferentAccess in Ruby 2.1.1 is broken because Ruby 2.1.1's Hash#reject doesn't copy extra states.

Associated revisions

Revision 45227
Added by Yui NARUSE almost 2 years ago

merge revision(s) 44370: [Backport #9576]

hash.c: extra states

* hash.c (rb_hash_reject): use words "extra states".

History

#1 [ruby-core:61168] Updated by Yui NARUSE almost 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r45227.


merge revision(s) 44370: [Backport #9576]

hash.c: extra states

* hash.c (rb_hash_reject): use words "extra states".

Also available in: Atom PDF