Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port #10140: enable warning 6 [labels-omitted] by default #217

Open
lpw25 opened this issue Sep 3, 2021 · 0 comments
Open

Port #10140: enable warning 6 [labels-omitted] by default #217

lpw25 opened this issue Sep 3, 2021 · 0 comments

Comments

@lpw25
Copy link
Collaborator

lpw25 commented Sep 3, 2021

#10140

From the Changelog:

* #10118, #10140: enable warning 6 [labels-omitted] by default.
  The following now warns:
    let f ~x y = ... in f 3 5
  the callsite (f 3 5) has to be turned into (f ~x:3 5).
  This prevents mistakes where two arguments of the same types are swapped.
  (Note: Dune already enables this warning by default.)
  (Gabriel Scherer, review by Xavier Leroy and Florian Angeletti,
   report by ygrek)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant