rescript-lang / rescript

ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
https://rescript-lang.org
Other
6.75k stars 449 forks source link

Formatter: Parens added around function with wildcard argument #6320

Open glennsl opened 1 year ago

glennsl commented 1 year ago

Very minor regression in rescript@11:

"foo"->Js.log(_)

will be formatted to

"foo"->(Js.log(_))

Doesn't cause any issues outside of just being inconsistent and annoying though.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

glennsl commented 2 months ago

Still present in 11.1.3 and 12.0.0-alpha.1 on the playground.