If there are no explicit params, then `last_param_node_id` should be `implicit_params_loc_id`. But there is no use case currently, so for now we assume explicit params exist and assert if not, so this can be found and updated then.
See docs.