Project

General

Profile

Bug #15708 ยป single-implicit-arg-no-destructure.diff

jeremyevans0 (Jeremy Evans), 04/11/2019 09:34 PM

View differences:

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;
}
    (1-1/1)