summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJules Aguillon <jules@j3s.fr>2023-03-27 10:50:46 +0200
committerGitHub <noreply@github.com>2023-03-27 10:50:46 +0200
commitafbffd5144304f7f5ce63fa65b6962827e1da47a (patch)
treeb0563b0513161209e163bb349553defc2804b18b /utils
parentb45983abffc2ab07c34c3f686fda08f3d4c5e954 (diff)
downloadocaml-afbffd5144304f7f5ce63fa65b6962827e1da47a.tar.gz
Don't suggest a semicolon when the type is not unit (#12116)
Don't suggest a semicolon when the type is not unit This hint message is printed when a function receives too many arguments. It doesn't make sense when the return type of the function is not unit: Line 2, characters 2-11: 2 | (+) 1 2 3 ^^^^^^^^^ Error: The function '(+)' has type int -> int -> int It is applied to too many arguments Line 2, characters 8-10: 2 | (+) 1 2 3 ^^ Hint: Did you forget a ';'? This removes the message when it is not applicable.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions