From f7894e422a935d975f7fc4130b73fefba16a9433 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 2 Nov 2012 19:14:24 +0000 Subject: vm.c: rewrite all catch points * vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in errinfo, not only the topmost frame. based on the patch by ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- KNOWNBUGS.rb | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'KNOWNBUGS.rb') diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index 2bcedcb150..b97a08d928 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,21 +3,3 @@ # So all tests will cause failure. # -[['[ruby-dev:45656]', %q{ - class Bug6460 - include Enumerable - def each - begin - yield :foo - ensure - 1.times { Proc.new } - end - end - end - e = Bug6460.new -}]].each do |bug, src| - assert_equal "foo", src + %q{e.detect {true}}, bug - assert_equal "true", src + %q{e.any? {true}}, bug - assert_equal "false", src + %q{e.all? {false}}, bug - assert_equal "true", src + %q{e.include?(:foo)}, bug -end -- cgit v1.2.3