[macruby-changes] [2530] MacRuby/trunk/test_vm/dispatch.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 9 19:35:23 PDT 2009


Revision: 2530
          http://trac.macosforge.org/projects/ruby/changeset/2530
Author:   lsansonetti at apple.com
Date:     2009-09-09 19:35:15 -0700 (Wed, 09 Sep 2009)
Log Message:
-----------
adding a failing test

Modified Paths:
--------------
    MacRuby/trunk/test_vm/dispatch.rb

Modified: MacRuby/trunk/test_vm/dispatch.rb
===================================================================
--- MacRuby/trunk/test_vm/dispatch.rb	2009-09-10 01:10:17 UTC (rev 2529)
+++ MacRuby/trunk/test_vm/dispatch.rb	2009-09-10 02:35:15 UTC (rev 2530)
@@ -406,3 +406,13 @@
   class Y < X; def foo(x); 1.times { |; x| x = 1; super; } end; end
   Y.new.foo(42)
 }
+
+assert "42", %{
+  module M
+    def foo; p 42; end
+  end
+  class Module
+    include M
+  end
+  class Range; foo; end
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090909/47e8b4c5/attachment.html>


More information about the macruby-changes mailing list