Revision: 1148 http://trac.macosforge.org/projects/ruby/changeset/1148 Author: vincent.isambart@gmail.com Date: 2009-03-25 05:16:10 -0700 (Wed, 25 Mar 2009) Log Message: ----------- added a strange crashing test Modified Paths: -------------- MacRuby/branches/experimental/test_roxor.rb Modified: MacRuby/branches/experimental/test_roxor.rb =================================================================== --- MacRuby/branches/experimental/test_roxor.rb 2009-03-25 12:14:55 UTC (rev 1147) +++ MacRuby/branches/experimental/test_roxor.rb 2009-03-25 12:16:10 UTC (rev 1148) @@ -840,6 +840,13 @@ def bar(a = foo); end bar } + + assert '42', %{ + def foo() yield 1, 2 end + x = 1 + w = 42 + foo { |x, y = :y| p w } + } end test "blocks" do
participants (1)
-
source_changes@macosforge.org