Project

General

Profile

« Previous | Next » 

Revision fad01941

Added by mame (Yusuke Endoh) about 7 years ago

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 .
Fixes [Bug #15018].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e