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 inconsistencies in dangling opening brackets #738

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Conversation

nbacquey
Copy link
Member

@nbacquey nbacquey commented Sep 12, 2024

Description

This PR standardizes the way dangling opening brackets are handled: we now try to always put them after the = sign, without a line break.

Additionally, it also addresses the unreported(?) issue of formatting polymorphic variant types.

Closes #730
Solves part of #661

Checklist

Checklist before merging:

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

@nbacquey nbacquey added the language: ocaml OCaml formatting issues label Sep 12, 2024
@nbacquey nbacquey merged commit 1eb139c into main Sep 16, 2024
9 checks passed
@nbacquey nbacquey deleted the nb/ocaml_dangling branch September 16, 2024 07:16
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.

Inconsistent dangling of [ and { between values and types
2 participants