[ruby-cvs:51214] nobu:r44069 (trunk): class.c, vm_insnhelper.c: check unknown keywords

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 8 16:19:31 JST 2013


nobu	2013-12-08 16:19:30 +0900 (Sun, 08 Dec 2013)

  New Revision: 44069

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

  Log:
    class.c, vm_insnhelper.c: check unknown keywords
    
    * class.c (rb_get_kwargs): if optional is negative, unknown
      keywords are allowed.
    * vm_insnhelper.c (vm_callee_setup_keyword_arg): check unknown
      keywords.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/test/ruby/test_keyword.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list