[ruby-cvs:78482] a029b54ec7 (master): Make Enumerator::Chain#each treat lambdas as lambda

"Jeremy Evans" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Jeremy Evans	2019-08-29 08:41:39 +0900 (Thu, 29 Aug 2019)

  New Revision: a029b54ec7

  https://github.com/ruby/ruby/commit/a029b54ec7

  Log:
    Make Enumerator::Chain#each treat lambdas as lambda
    
    Previously, lambdas were converted to procs because of how
    rb_block_call works.  Switch to rb_funcall_with_block, which
    handles procs as procs and lambdas as lambdas.
    
    Fixes [Bug #15613]

  Modified files:
    enumerator.c
    test/ruby/test_enumerator.rb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.