diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 08:05:28 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 08:05:28 +0000 |
commit | 37309d99a72fe18a6383658fe3898ed2e2295076 (patch) | |
tree | 1dc3ab24457260b1b8ee860709d3d0c4dcb65f8d /test | |
parent | 45ba4645614ab888fc74e66714b4fc7447e07083 (diff) |
merges r29136 from trunk into ruby_1_9_2.
--
* vm.c (rb_thread_method_id_and_class): curried proc has no
method. [ruby-core:31871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_proc.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 4a1eee3926..efd5a269fd 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -793,6 +793,14 @@ class TestProc < Test::Unit::TestCase end end + def test_curry_with_trace + bug3751 = '[ruby-core:31871]' + set_trace_func(proc {}) + test_curry + ensure + set_trace_func(nil) + end + def test_block_propagation bug3792 = '[ruby-core:32075]' c = Class.new do |