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

Example of broken formatting for foo(a,_) in uncurried mode. #6148

Merged
merged 5 commits into from
Apr 14, 2023

Conversation

cristianoc
Copy link
Collaborator

See #6146

@DZakh
Copy link
Contributor

DZakh commented Apr 14, 2023

Input:

let concatStrings = (string1, string2) => string1 ++ string2
Ok("_")->Belt.Result.map(concatStrings(_, "foo"))

Formatted:

let concatStrings = (string1, string2) => string1 ++ string2
Ok("_")->Belt.Result.map(() => concatStrings(_, "foo"))

@cristianoc cristianoc merged commit cde772a into master Apr 14, 2023
13 checks passed
@cristianoc cristianoc deleted the uncurried_placeholder_app branch April 14, 2023 15:02
cristianoc added a commit that referenced this pull request Apr 14, 2023
@cristianoc cristianoc mentioned this pull request Apr 14, 2023
cristianoc added a commit that referenced this pull request Apr 14, 2023
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.

None yet

2 participants