[ruby-cvs:52283] naruse:r45138 (ruby_2_1): merge revision(s) 44412, 44413, 44414, 44420, 44421: [Backport #9298]

naruse at ruby-lang.org naruse at ruby-lang.org
Sat Feb 22 22:13:26 JST 2014


naruse	2014-02-22 22:13:24 +0900 (Sat, 22 Feb 2014)

  New Revision: 45138

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45138

  Log:
    merge revision(s) 44412,44413,44414,44420,44421: [Backport #9298]
    
    test_method.rb, test_proc.rb: suppress warnings
    
    * test/ruby/test_method.rb: suppress warnings in verbose mode.
    
    * test/ruby/test_proc.rb: ditto.
    * proc.c (rb_iseq_min_max_arity): maximum argument is unlimited if
      having rest keywords argument.  [ruby-core:53298] [Bug #8072]
    
    * iseq.c (rb_iseq_parameters): push argument type symbol only for
      unnamed rest keywords argument.
    
    * compile.c (iseq_set_arguments): set arg_keyword_check from
      nd_cflag, which is set by parser.  internal ID is used for
      unnamed keyword rest argument, which should be separated from no
      keyword check.
    
    * iseq.c (rb_iseq_parameters): if no keyword check, keyword rest is
      present.
    
    * parse.y (new_args_tail_gen): set keywords check to nd_cflag, which
      equals to that keyword rest is not present.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/compile.c
    branches/ruby_2_1/iseq.c
    branches/ruby_2_1/parse.y
    branches/ruby_2_1/proc.c
    branches/ruby_2_1/test/ruby/test_keyword.rb
    branches/ruby_2_1/test/ruby/test_method.rb
    branches/ruby_2_1/test/ruby/test_proc.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list