[macruby-changes] [4187] MacRuby/trunk/NSArray.m
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 1 20:00:52 PDT 2010
Revision: 4187
http://trac.macosforge.org/projects/ruby/changeset/4187
Author: lsansonetti at 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:
--------------
MacRuby/trunk/NSArray.m
Modified: MacRuby/trunk/NSArray.m
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100601/f6ca7bb0/attachment.html>
More information about the macruby-changes
mailing list