Project

General

Profile

Bug #11254

[BUG] no corresponding cfp

Added by nobu (Nobuyoshi Nakada) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:69548]

Description

2.1以降、以下のコードが[BUG] rb_vm_search_cf_from_ep: no corresponding cfpになります。

empty = Object.new
class << empty
  attr_reader :block
  def each(&block)
    @block = block
    self
  end
end
empty.first
empty.block.call

Associated revisions

Revision 3d980e16
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 50850
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Revision 50850
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Revision 50850
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Revision 50850
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Revision 50850
Added by nobu (Nobuyoshi Nakada) over 4 years ago

vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Revision b94b3260
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) 50850: [Backport #11254]

    vm.c: break from orphan block

    * vm.c (rb_vm_search_cf_from_ep): break from orphan block is

possible condition, but not [BUG].
[ruby-core:69548] [Bug #11254]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 51129
Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

merge revision(s) 50850: [Backport #11254]

vm.c: break from orphan block

* vm.c (rb_vm_search_cf_from_ep): break from orphan block is

possible condition, but not [BUG].
[ruby-core:69548] [Bug #11254]

History

#1

Updated by nobu (Nobuyoshi Nakada) over 4 years ago

  • Status changed from Assigned to Closed

Applied in changeset r50850.


vm.c: break from orphan block

  • vm.c (rb_vm_search_cf_from_ep): break from orphan block is possible condition, but not [BUG]. [ruby-core:69548] [Bug #11254]

Updated by nagachika (Tomoyuki Chikanaga) over 4 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into ruby_2_2 at r51129.

Also available in: Atom PDF