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 =
4655
4655
(if args = 1 then " " else " s" )
4656
4656
arity;
4657
4657
4658
- (* Add suggestions for functions with correct arity *)
4658
+ (* Add suggestions for related functions with correct arity *)
4659
4659
(match function_name_opt with
4660
4660
| Some function_name -> (
4661
4661
let function_name_str =
@@ -4667,13 +4667,13 @@ let report_error env loc ppf error =
4667
4667
in
4668
4668
let suggestion = find_arity_suggestion env function_name_str args in
4669
4669
match suggestion with
4670
- | None -> () (* No suggestion found *)
4670
+ | None -> ()
4671
4671
| Some suggestion_str ->
4672
4672
fprintf ppf
4673
4673
" @,@,Hint: Try @{<info>%s@} instead (takes @{<info>%d@} argument%s)."
4674
4674
suggestion_str args
4675
4675
(if args = 1 then " " else " s" ))
4676
- | None -> () (* Function name not available *) );
4676
+ | None -> () );
4677
4677
4678
4678
fprintf ppf " @]"
4679
4679
| Field_not_optional (name , typ ) ->
You can’t perform that action at this time.
0 commit comments