Bug #15708 ยป single-implicit-arg-no-destructure.diff
parse.y | ||
---|---|---|
if (max_numparam > 0) {
|
||
if (!args) args = new_args_tail(p, 0, 0, 0, 0);
|
||
args->nd_ainfo->pre_args_num = max_numparam;
|
||
args->nd_ainfo->rest_arg = excessed_comma;
|
||
if (max_numparam > 1) {
|
||
args->nd_ainfo->rest_arg = excessed_comma;
|
||
}
|
||
}
|
||
return args;
|
||
}
|