Actions
Bug #11254
closed[BUG] no corresponding cfp
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
Updated by nobu (Nobuyoshi Nakada) over 9 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 9 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.
Updated by mame (Yusuke Endoh) almost 3 years ago
- Related to Bug #18475: Yielding an element for Enumerator in another thread dumps core added
Actions
Like0
Like0Like0Like0