Project

General

Profile

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

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

View differences:

parse.y
10377 10377
    if (max_numparam > 0) {
10378 10378
	if (!args) args = new_args_tail(p, 0, 0, 0, 0);
10379 10379
	args->nd_ainfo->pre_args_num = max_numparam;
10380
	args->nd_ainfo->rest_arg = excessed_comma;
10380
	if (max_numparam > 1) {
10381
	    args->nd_ainfo->rest_arg = excessed_comma;
10382
	}
10381 10383
    }
10382 10384
    return args;
10383 10385
}