Project

General

Profile

« Previous | Next » 

Revision 539ab305

Added by naruse (Yui NARUSE) about 7 years ago

merge revision(s) 57192,57464,58016,58018,58019: [Backport #12705]

    [Bug #12705]
    add a ticket number.

    test_lambda.rb: refine test

    * test/ruby/test_lambda.rb (test_lambda_as_iterator): refine a
      test for the intention of the original report.
      [ruby-core:61340] [Bug #9605]
    test_lambda.rb: remove duplcate tests
    vm_args.c: arity check of lambda

    * vm_eval.c (rb_yield_lambda): new function which yields an array
      to a proc and splat to a lambda.  mainly for Enumerable only.

    * vm_args.c (setup_parameters_complex): remove special lambda
      splatting for [Bug #9605].  [ruby-core:77065] [Bug #12705]

    * vm_insnhelper.c (vm_callee_setup_block_arg): ditto.

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