Skip to content

Fix formatter removed parens from functor type #7735

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 4 commits into from
Jul 29, 2025

Conversation

shulhi
Copy link
Member

@shulhi shulhi commented Jul 29, 2025

Fix #7720

Copy link

pkg-pr-new bot commented Jul 29, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7735

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7735

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7735

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7735

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7735

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7735

commit: e2bc9ea

@shulhi shulhi force-pushed the fix/functor-parens-printing branch from ed21bc5 to eee2834 Compare July 29, 2025 12:00
@shulhi shulhi marked this pull request as ready for review July 29, 2025 12:08
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.

Thanks a lot! 👍

@shulhi shulhi merged commit 7917ea3 into rescript-lang:master Jul 29, 2025
27 checks passed
@shulhi shulhi deleted the fix/functor-parens-printing branch July 29, 2025 23:13
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 removes () from functor type which results invalid code
2 participants