Revision
2862
Author
lsansonetti@apple.com
Date
2009-10-19 20:16:06 -0700 (Mon, 19 Oct 2009)

Log Message

always set the outer of a class to something

Modified Paths

Diff

Modified: MacRuby/trunk/variable.c (2861 => 2862)


--- MacRuby/trunk/variable.c	2009-10-20 03:15:43 UTC (rev 2861)
+++ MacRuby/trunk/variable.c	2009-10-20 03:16:06 UTC (rev 2862)
@@ -274,9 +274,7 @@
     OBJ_FREEZE(str);
     rb_ivar_set(klass, classpath, str);
 
-    if (set_outer) {
-	rb_vm_set_outer(klass, under);
-    }	
+    rb_vm_set_outer(klass, set_outer ? under : rb_cObject);
 }
 
 void