Revision
4187
Author
lsansonetti@apple.com
Date
2010-06-01 20:00:50 -0700 (Tue, 01 Jun 2010)

Log Message

fix the return value of NSArray#reject

Modified Paths

Diff

Modified: MacRuby/trunk/NSArray.m (4186 => 4187)


--- MacRuby/trunk/NSArray.m	2010-06-02 02:59:52 UTC (rev 4186)
+++ MacRuby/trunk/NSArray.m	2010-06-02 03:00:50 UTC (rev 4187)
@@ -763,7 +763,8 @@
 nsary_reject(id rcv, SEL sel)
 {
     RETURN_ENUMERATOR(rcv, 0, 0);
-    return reject([rcv mutableCopy]);
+    reject([rcv mutableCopy]);
+    return (VALUE)rcv;
 }
 
 static VALUE