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

source_changes at macosforge.org source_changes at macosforge.org
Mon Jan 25 05:52:26 PST 2010


Revision: 3329
          http://trac.macosforge.org/projects/ruby/changeset/3329
Author:   eloy.de.enige at gmail.com
Date:     2010-01-25 05:52:22 -0800 (Mon, 25 Jan 2010)
Log Message:
-----------
Added failing test_vm test for using yield from inside a block.

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

Modified: MacRuby/trunk/test_vm/block.rb
===================================================================
--- MacRuby/trunk/test_vm/block.rb	2010-01-24 02:32:38 UTC (rev 3328)
+++ MacRuby/trunk/test_vm/block.rb	2010-01-25 13:52:22 UTC (rev 3329)
@@ -729,3 +729,10 @@
   end
   p arrays
 }
+
+assert ':ok' ,%{
+  def foo
+    lambda { yield }.call
+  end
+  p(foo { :ok })'
+}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100125/5e20925c/attachment.html>


More information about the macruby-changes mailing list