[ruby-cvs:66734] nobu:r59556 (trunk): compile.c: fix KW_SPLAT flag condition

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 10 09:50:45 JST 2017


nobu	2017-08-10 09:50:45 +0900 (Thu, 10 Aug 2017)

  New Revision: 59556

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

  Log:
    compile.c: fix KW_SPLAT flag condition
    
    * compile.c (compile_array_keyword_arg): fix the condition of
      KW_SPLAT flag.  splat is value node only without key node,
      simple assoc argument is not.  [ruby-core:82291] [Bug #13793]

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_keyword.rb


More information about the ruby-cvs mailing list