[4371] MacRuby/trunk/variable.c
Revision: 4371 http://trac.macosforge.org/projects/ruby/changeset/4371 Author: lsansonetti@apple.com Date: 2010-07-21 00:00:57 -0700 (Wed, 21 Jul 2010) Log Message: ----------- fixed #remove_instance_variable for native objects Modified Paths: -------------- MacRuby/trunk/variable.c Modified: MacRuby/trunk/variable.c =================================================================== --- MacRuby/trunk/variable.c 2010-07-21 06:03:19 UTC (rev 4370) +++ MacRuby/trunk/variable.c 2010-07-21 07:00:57 UTC (rev 4371) @@ -1266,10 +1266,8 @@ break; default: - if (FL_TEST(obj, FL_EXIVAR) || rb_special_const_p(obj)) { - if (generic_ivar_remove(obj, id, &val)) { - return val; - } + if (generic_ivar_remove(obj, id, &val)) { + return val; } break; }
participants (1)
-
source_changes@macosforge.org