[macruby-changes] [4371] MacRuby/trunk/variable.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jul 21 00:00:59 PDT 2010
Revision: 4371
http://trac.macosforge.org/projects/ruby/changeset/4371
Author: lsansonetti at 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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100721/1b8d6d89/attachment.html>
More information about the macruby-changes
mailing list