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

fix: [OCaml] Relocate dangling function line break #764

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

nbacquey
Copy link
Member

Description

Allows the following

let _ =
  somefun @@
    fun x -> body

to be formatted as

let _ =
  somefun @@ fun x ->
  body

Closes #546

Checklist

Checklist before merging:

  • CHANGELOG.md updated
  • README.md up-to-date

@nbacquey nbacquey added the language: ocaml OCaml formatting issues label Oct 10, 2024
@nbacquey nbacquey requested a review from Xophmeister October 10, 2024 14:06
Copy link
Member

@Xophmeister Xophmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇

@nbacquey nbacquey merged commit 556e7f9 into main Oct 10, 2024
9 checks passed
@nbacquey nbacquey deleted the nb/ocaml_relocate_line_break branch October 10, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language: ocaml OCaml formatting issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hanging forms
2 participants