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: missing space for pattern matching of constructor holding record #720

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

jonsterling
Copy link
Contributor

fix: missing space for pattern matching of constructor holding record

Issue: #719

Description

This fixes the formatting of pattern matching of constructors with an inline record pattern, which previously was missing a space.

Checklist

Checklist before merging:

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

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.

This LGTM -- thank you, @jonsterling 🙏

I'm not an expert on the OCaml formatting rules, though. It's worth waiting for @nbacquey's opinion.

@ErinvanderVeen
Copy link
Collaborator

No, it's not worth waiting I think. The PR looks great and very minimal. Can always revert if @nbacquey decides it's wrong.

@ErinvanderVeen ErinvanderVeen merged commit 6be487b into tweag:main Aug 27, 2024
6 checks passed
@nbacquey
Copy link
Member

nbacquey commented Sep 2, 2024

This looks perfect to me!
Thanks, @jonsterling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants