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

Weird indentation/breaks with lambda in pipeline #503

Closed
cmeeren opened this issue Oct 10, 2019 · 0 comments · Fixed by #529
Closed

Weird indentation/breaks with lambda in pipeline #503

cmeeren opened this issue Oct 10, 2019 · 0 comments · Fixed by #529

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Oct 10, 2019

This code seems weirdly formatted (online):

let a =
  b
  |> List.exists
       (fun p ->
       p.a && p.b |> List.exists (fun o -> o.a = "lorem ipsum dolor sit amet"))

I am thinking of (fun p being indented the same as the function body on the next line. I would expect (fun p to be on the same line as List.exists.

jindraivanek added a commit to jindraivanek/fantomas that referenced this issue Oct 21, 2019
jindraivanek added a commit that referenced this issue Oct 21, 2019
* Tests

* autoNlnByFutureLazy for App(Lambda). Fix #503
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 a pull request may close this issue.

1 participant