[ruby-cvs:59529] normal:r52378 (trunk): variable.c (generic_ivar_remove): return original value

normal at ruby-lang.org normal at ruby-lang.org
Fri Oct 30 11:38:00 JST 2015


normal	2015-10-30 11:37:59 +0900 (Fri, 30 Oct 2015)

  New Revision: 52378

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52378

  Log:
    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

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_object.rb
    trunk/variable.c


More information about the ruby-cvs mailing list