From 1720a5bac44b590205257cf3acd0a3071738e6ec Mon Sep 17 00:00:00 2001 From: ktsj Date: Mon, 17 Jun 2013 12:38:52 +0000 Subject: * include/ruby/intern.h, proc.c (rb_method_call_with_block): new function to invoke a Method object with a block passed as an argument. * proc.c (bmcall): use the above function to avoid a block sharing. [ruby-core:54626] [Bug #8341] * test/ruby/test_proc.rb (TestProc#test_block_persist_between_calls): run related tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_proc.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/ruby/test_proc.rb') diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 57f28dafeb..c5352e342e 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -200,7 +200,6 @@ class TestProc < Test::Unit::TestCase def test_block_persist_between_calls bug8341 = '[Bug #8341]' - skip bug8341 o = Object.new def o.m1(top=true) if top -- cgit v1.2.3