File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4655,7 +4655,7 @@ let report_error env loc ppf error =
46554655 (if args = 1 then " " else " s" )
46564656 arity;
46574657
4658- (* Add suggestions for functions with correct arity *)
4658+ (* Add suggestions for related functions with correct arity *)
46594659 (match function_name_opt with
46604660 | Some function_name -> (
46614661 let function_name_str =
@@ -4667,13 +4667,13 @@ let report_error env loc ppf error =
46674667 in
46684668 let suggestion = find_arity_suggestion env function_name_str args in
46694669 match suggestion with
4670- | None -> () (* No suggestion found *)
4670+ | None -> ()
46714671 | Some suggestion_str ->
46724672 fprintf ppf
46734673 " @,@,Hint: Try @{<info>%s@} instead (takes @{<info>%d@} argument%s)."
46744674 suggestion_str args
46754675 (if args = 1 then " " else " s" ))
4676- | None -> () (* Function name not available *) );
4676+ | None -> () );
46774677
46784678 fprintf ppf " @]"
46794679 | Field_not_optional (name , typ ) ->
You can’t perform that action at this time.
0 commit comments