[ruby-cvs:71878] nobu:r64786 (trunk): parse.y: fix block passing with empty kwargs

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Sep 20 10:43:35 JST 2018


nobu	2018-09-20 10:43:35 +0900 (Thu, 20 Sep 2018)

  New Revision: 64786

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

  Log:
    parse.y: fix block passing with empty kwargs
    
    * parse.y (arg_blk_pass): preceeding arguments node may be NULL when
      an empty keyword argument hash splat is optimized away.
      [ruby-core:88890] [Bug #15087]

  Modified files:
    trunk/parse.y
    trunk/test/ruby/test_keyword.rb


More information about the ruby-cvs mailing list