Project

General

Profile

ActionsLike0

Feature #11256

closed

anonymous block forwarding

Added by bughit (bug hit) almost 10 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
[ruby-core:69559]

Description

since capturing a block into a proc is slow: foo(&block)
and creating chains of blocks is kind of ugly and ultimately also inefficient: foo{yield}
why not allow block forwarding without capturing: foo(&) foo(1, 2, &)


Related issues 3 (0 open3 closed)

Related to Ruby - Feature #3447: argument delegationClosedmatz (Yukihiro Matsumoto)Actions
Related to Ruby - Feature #14045: Lazy Proc allocation for block parametersClosedko1 (Koichi Sasada)Actions
Related to Ruby - Bug #18828: [Ripper] Anonymous parameter forwarding failures are not checkedClosedActions
#2

Updated by matz (Yukihiro Matsumoto) almost 10 years ago

#3

Updated by mame (Yusuke Endoh) over 7 years ago

  • Related to Feature #14045: Lazy Proc allocation for block parameters added

Updated by mame (Yusuke Endoh) over 7 years ago

  • Status changed from Open to Assigned
  • Assignee set to matz (Yukihiro Matsumoto)

Updated by matz (Yukihiro Matsumoto) over 7 years ago

  • Status changed from Assigned to Closed

Updated by ko1 (Koichi Sasada) over 7 years ago

  • Status changed from Closed to Assigned

Updated by mame (Yusuke Endoh) over 7 years ago

  • Target version set to 2.6
#14

Updated by naruse (Yui NARUSE) over 7 years ago

  • Target version deleted (2.6)
#20

Updated by jeremyevans (Jeremy Evans) over 3 years ago

  • Status changed from Assigned to Closed
#25

Updated by nobu (Nobuyoshi Nakada) almost 3 years ago

  • Related to Bug #18828: [Ripper] Anonymous parameter forwarding failures are not checked added
ActionsLike0

Also available in: Atom PDF