[macruby-changes] [2194] MacRuby/branches/experimental/test_vm/dispatch.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 3 15:47:43 PDT 2009


Revision: 2194
          http://trac.macosforge.org/projects/ruby/changeset/2194
Author:   lsansonetti at apple.com
Date:     2009-08-03 15:47:40 -0700 (Mon, 03 Aug 2009)
Log Message:
-----------
adding a failing test

Modified Paths:
--------------
    MacRuby/branches/experimental/test_vm/dispatch.rb

Modified: MacRuby/branches/experimental/test_vm/dispatch.rb
===================================================================
--- MacRuby/branches/experimental/test_vm/dispatch.rb	2009-08-03 22:07:56 UTC (rev 2193)
+++ MacRuby/branches/experimental/test_vm/dispatch.rb	2009-08-03 22:47:40 UTC (rev 2194)
@@ -328,3 +328,13 @@
   X.new
   p :ok
 }
+
+assert '42', %{
+  class X
+    def foo(x); p x; end
+  end
+  class Y < X
+    def foo(*args); super; end
+  end
+  Y.new.foo(42)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090803/2748c4f9/attachment.html>


More information about the macruby-changes mailing list