diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-17 11:15:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-17 11:15:00 +0000 |
commit | 571955c13fc9363b16756c8419d6ea9bcd8de06f (patch) | |
tree | ee9a420610a1c2de8839c3e055a9b293dc442b56 /NEWS | |
parent | cf460c34f705832090f41dfc6585dff2536623bf (diff) | |
download | ruby-571955c13fc9363b16756c8419d6ea9bcd8de06f.tar.gz |
hash.c: revert
* hash.c (rb_hash_reject): revert to deprecated behavior, with
warnings, due to compatibility for HashWithDifferentAccess.
[ruby-core:59154] [Bug #9223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -135,9 +135,10 @@ with all sufficient information, see the ChangeLog file. * Hash * incompatible changes: - * Hash#reject now returns plain Hash object, that is the original object's - subclass, instance variables, default value, and taintedness are no longer - copied. + * Hash#reject will return plain Hash object in the future versions, that + is the original object's subclass, instance variables, default value, + and taintedness will be no longer copied, so now warnings are emitted + when called with such Hash. * IO * incompatible changes: |