diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 02:37:59 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 02:37:59 +0000 |
commit | 0a9f20ae02a60e1422870a6c51659cf0a08078a0 (patch) | |
tree | b9b68f7125279c4c76d895ee8b86f9bdde197f60 /ChangeLog | |
parent | fc8416abe7c64f2a6d905bfca7235acd6c86effd (diff) | |
download | ruby-0a9f20ae02a60e1422870a6c51659cf0a08078a0.tar.gz |
variable.c (generic_ivar_remove): return original value
This fixes a bug introduced in r50678
("variable.c: use indices for generic ivars")
and does not affect any released version of Ruby
* variable.c (generic_ivar_remove): adjust type, set valp
(rb_obj_remove_instance_variable): simplify call
* test/ruby/test_object.rb (test_remove_instance_variable):
expand for implementation details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Fri Oct 30 11:36:33 2015 Eric Wong <e@80x24.org> + + * variable.c (generic_ivar_remove): adjust type, set valp + (rb_obj_remove_instance_variable): simplify call + * test/ruby/test_object.rb (test_remove_instance_variable): + expand for implementation details + Fri Oct 30 10:37:56 2015 Eric Wong <e@80x24.org> * internal.h (rb_st_insert_id_and_value): update prototype |