[macruby-changes] [1245] MacRuby/branches/experimental/roxor.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sat Mar 28 20:36:57 PDT 2009


Revision: 1245
          http://trac.macosforge.org/projects/ruby/changeset/1245
Author:   lsansonetti at apple.com
Date:     2009-03-28 20:36:51 -0700 (Sat, 28 Mar 2009)
Log Message:
-----------
in case the super method cannot be found, let's go through method_missing instead of aborting

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

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-03-29 03:32:31 UTC (rev 1244)
+++ MacRuby/branches/experimental/roxor.cpp	2009-03-29 03:36:51 UTC (rev 1245)
@@ -4999,9 +4999,7 @@
         }
     }
 
-    printf("could not identify the superclass of %s from the ancestors chain %s\n",
-                class_getName((Class)klass), RSTRING_PTR(rb_inspect(ary)));
-    abort();
+    return NULL;
 }
 
 extern "C"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090328/d00f3925/attachment-0001.html>


More information about the macruby-changes mailing list