[macruby-changes] [1322] MacRuby/branches/experimental/vm_eval.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 3 23:26:47 PDT 2009


Revision: 1322
          http://trac.macosforge.org/projects/ruby/changeset/1322
Author:   lsansonetti at apple.com
Date:     2009-04-03 23:26:47 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
make sure #catch at least yields the given block (even if it's not really implemented)

Modified Paths:
--------------
    MacRuby/branches/experimental/vm_eval.c

Modified: MacRuby/branches/experimental/vm_eval.c
===================================================================
--- MacRuby/branches/experimental/vm_eval.c	2009-04-04 05:53:02 UTC (rev 1321)
+++ MacRuby/branches/experimental/vm_eval.c	2009-04-04 06:26:47 UTC (rev 1322)
@@ -666,6 +666,7 @@
 rb_f_catch(VALUE rcv, SEL sel, int argc, VALUE *argv)
 {
     // TODO
+    rb_yield(Qundef);
     return Qnil;
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090403/62033487/attachment.html>


More information about the macruby-changes mailing list