[macruby-changes] [3008] MacRuby/trunk/test_vm/block.rb

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 13 19:48:48 PST 2009


Revision: 3008
          http://trac.macosforge.org/projects/ruby/changeset/3008
Author:   lsansonetti at apple.com
Date:     2009-11-13 19:48:48 -0800 (Fri, 13 Nov 2009)
Log Message:
-----------
added a failing test

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

Modified: MacRuby/trunk/test_vm/block.rb
===================================================================
--- MacRuby/trunk/test_vm/block.rb	2009-11-14 01:42:22 UTC (rev 3007)
+++ MacRuby/trunk/test_vm/block.rb	2009-11-14 03:48:48 UTC (rev 3008)
@@ -710,3 +710,13 @@
   end
   p f
 }
+
+assert ':ok', %{
+  class X
+    def foo(&b); b.call; end
+  end
+  class Y < X
+    def foo(&b); super; end
+  end
+  Y.new.foo { p :ok }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091113/af6a67b7/attachment.html>


More information about the macruby-changes mailing list