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

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 2 14:12:20 PST 2009


Revision: 2939
          http://trac.macosforge.org/projects/ruby/changeset/2939
Author:   lsansonetti at apple.com
Date:     2009-11-02 14:12:19 -0800 (Mon, 02 Nov 2009)
Log Message:
-----------
added 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-11-02 04:44:41 UTC (rev 2938)
+++ MacRuby/trunk/test_vm/dispatch.rb	2009-11-02 22:12:19 UTC (rev 2939)
@@ -443,3 +443,13 @@
     p :ok
   end
 }
+
+assert '42', %{
+  class C1
+    def foo(x); p x; end
+  end
+  class C2 < C1
+    def foo(x=42); super; end
+  end
+  C2.new.foo
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091102/67279c88/attachment.html>


More information about the macruby-changes mailing list