We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366fef5 commit 80aaf66Copy full SHA for 80aaf66
middle_end/flambda2/from_lambda/closure_conversion.ml
@@ -1763,9 +1763,9 @@ let close_one_function acc ~code_id ~external_env ~by_function_slot
1763
Bound_parameters.create main_code_params,
1764
main_code_param_modes,
1765
false,
1766
- (* num_trailing_local_closures = all params: function should never be
1767
- partially applied anyway *)
1768
- List.length main_code_params - 1,
+ (* num_trailing_local_closures = all params, but function should never
+ be partially applied anyway *)
+ List.length main_code_params,
1769
result_arity_main_code,
1770
unboxed_return_continuation,
1771
my_unboxed_closure )
0 commit comments