fixed #remove_instance_variable for native objects
--- 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;
}