[macruby-changes] [1063] MacRuby/branches/experimental/test_roxor.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Mar 22 14:17:16 PDT 2009
Revision: 1063
http://trac.macosforge.org/projects/ruby/changeset/1063
Author: lsansonetti at apple.com
Date: 2009-03-22 14:17:15 -0700 (Sun, 22 Mar 2009)
Log Message:
-----------
added a test which currently segv the compiler
Modified Paths:
--------------
MacRuby/branches/experimental/test_roxor.rb
Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-22 20:37:41 UTC (rev 1062)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-22 21:17:15 UTC (rev 1063)
@@ -766,6 +766,15 @@
f {|*args| p args}
}
+ assert ':ok', %{
+ 1.times do
+ def foo(&a)
+ a.call
+ end
+ foo { p :ok }
+ end
+ }
+
end
test "blocks" do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090322/b796422e/attachment.html>
More information about the macruby-changes
mailing list