[ruby-cvs:71603] mame:r64510 (trunk): parse.y (arg_append): support NODE_ARGSCAT case

mame at ruby-lang.org mame at ruby-lang.org
Thu Aug 23 00:04:05 JST 2018

mame	2018-08-23 00:04:05 +0900 (Thu, 23 Aug 2018)

  New Revision: 64510


    parse.y (arg_append): support NODE_ARGSCAT case
    Because of the lack of this case, `[*ary,1,2,3,4,5,6]` was parsed into
    an inefficient AST like `ary + [1,2] + [3,4] + [5,6]`.
    A patch from Anmol Chopra <anmolchopra at rocketbox.in>.
    Fixes [Bug #15018].

  Modified files:

More information about the ruby-cvs mailing list