[macruby-changes] [2088] MacRuby/branches/experimental/compiler.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sun Jul 26 13:50:02 PDT 2009


Revision: 2088
          http://trac.macosforge.org/projects/ruby/changeset/2088
Author:   lsansonetti at apple.com
Date:     2009-07-26 13:50:01 -0700 (Sun, 26 Jul 2009)
Log Message:
-----------
fixed the return value of attribute assignments

Modified Paths:
--------------
    MacRuby/branches/experimental/compiler.cpp

Modified: MacRuby/branches/experimental/compiler.cpp
===================================================================
--- MacRuby/branches/experimental/compiler.cpp	2009-07-26 09:26:03 UTC (rev 2087)
+++ MacRuby/branches/experimental/compiler.cpp	2009-07-26 20:50:01 UTC (rev 2088)
@@ -696,7 +696,8 @@
 	params.push_back(*i);
     }
 
-    return compile_dispatch_call(params);
+    compile_dispatch_call(params);
+    return params.back();
 }
 
 void
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090726/18859b1b/attachment.html>


More information about the macruby-changes mailing list