[ruby-cvs:65216] naruse:r58045 (ruby_2_4): merge revision(s) 57192, 57464, 58016, 58018, 58019: [Backport #12705]

naruse at ruby-lang.org naruse at ruby-lang.org
Tue Mar 21 23:04:24 JST 2017


naruse	2017-03-21 23:04:23 +0900 (Tue, 21 Mar 2017)

  New Revision: 58045

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58045

  Log:
    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.

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/enum.c
    branches/ruby_2_4/internal.h
    branches/ruby_2_4/test/ruby/test_lambda.rb
    branches/ruby_2_4/test/ruby/test_yield.rb
    branches/ruby_2_4/version.h
    branches/ruby_2_4/vm.c
    branches/ruby_2_4/vm_args.c
    branches/ruby_2_4/vm_eval.c
    branches/ruby_2_4/vm_insnhelper.c


More information about the ruby-cvs mailing list