[ruby-cvs:66804] nobu:r59626 (trunk): non-keywords hash

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Aug 20 15:08:25 JST 2017


nobu	2017-08-20 15:08:25 +0900 (Sun, 20 Aug 2017)

  New Revision: 59626

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

  Log:
    non-keywords hash
    
    * class.c (rb_scan_args), include/ruby/ruby.h (rb_scan_args_set):
      return non-keywords elements only in the last hash when keyword
      arguments are extracted from it, as well as methods defined in
      ruby level.  [ruby-core:82427] [Bug #13830]

  Modified files:
    trunk/class.c
    trunk/include/ruby/ruby.h
    trunk/test/-ext-/test_scan_args.rb


More information about the ruby-cvs mailing list