зеркало из https://github.com/github/ruby.git
[PRISM] Use concattoarray instead of splatarray+concatarray
This commit is contained in:
Родитель
50e7c8f051
Коммит
53710be557
|
@ -1687,8 +1687,7 @@ pm_setup_args_core(const pm_arguments_node_t *arguments_node, const pm_node_t *b
|
|||
//
|
||||
// foo(a, *b, *c)
|
||||
// ^^
|
||||
PUSH_INSN1(ret, location, splatarray, Qfalse);
|
||||
PUSH_INSN(ret, location, concatarray);
|
||||
PUSH_INSN(ret, location, concattoarray);
|
||||
}
|
||||
|
||||
has_splat = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче