[macruby-changes] [2828] MacRuby/trunk/vm.cpp

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 15 21:54:07 PDT 2009


Revision: 2828
          http://trac.macosforge.org/projects/ruby/changeset/2828
Author:   lsansonetti at apple.com
Date:     2009-10-15 21:54:06 -0700 (Thu, 15 Oct 2009)
Log Message:
-----------
fixed a bug when module_function was used as a scopy visibility followed by -1 arity methods

Modified Paths:
--------------
    MacRuby/trunk/vm.cpp

Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp	2009-10-16 01:39:45 UTC (rev 2827)
+++ MacRuby/trunk/vm.cpp	2009-10-16 04:54:06 UTC (rev 2828)
@@ -1761,7 +1761,7 @@
 	added_modfunc = true;
 	redefined = false;
 	klass = *(Class *)klass;
-	flags = 0;
+	sel = orig_sel;
 	goto prepare_method;
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091015/9cd9cb89/attachment.html>


More information about the macruby-changes mailing list