Skip to content

Fix formatter handling of wildcard pattern matching in record #7224

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

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

shulhi
Copy link
Member

@shulhi shulhi commented Jan 2, 2025

Handle the case when no fields are specified when pattern matching.

Fix #7179

@shulhi shulhi requested a review from cknitt January 4, 2025 08:43
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

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

Great, thanks a lot!

@shulhi shulhi merged commit bc4b7f4 into rescript-lang:master Jan 5, 2025
20 checks passed
@shulhi shulhi deleted the fix/record-wildcard-printer branch January 5, 2025 05:26
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.

Formatter Breaks Code When Using {_} in Pattern Matching
2 participants