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

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 5 19:23:51 PST 2010


Revision: 3194
          http://trac.macosforge.org/projects/ruby/changeset/3194
Author:   lsansonetti at apple.com
Date:     2010-01-05 19:23:48 -0800 (Tue, 05 Jan 2010)
Log Message:
-----------
added failing test

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

Modified: MacRuby/trunk/test_vm/dispatch.rb
===================================================================
--- MacRuby/trunk/test_vm/dispatch.rb	2010-01-06 01:15:29 UTC (rev 3193)
+++ MacRuby/trunk/test_vm/dispatch.rb	2010-01-06 03:23:48 UTC (rev 3194)
@@ -456,3 +456,13 @@
   end
   C2.new.foo
 }
+
+assert ':ok', %{
+  class C1
+    def foo; p :ok; end
+  end
+  class C2 < C1
+    def foo; 1.times { return super }; end
+  end
+  C2.new.foo
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100105/e6d0867f/attachment.html>


More information about the macruby-changes mailing list