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

broken indent by pipe formatting #269

Closed
s-trooper opened this issue Jul 3, 2018 · 0 comments
Closed

broken indent by pipe formatting #269

s-trooper opened this issue Jul 3, 2018 · 0 comments

Comments

@s-trooper
Copy link
Contributor

When formatting a pipe to a line, but with a line break in a string parameter, the indentation is sometimes broken. This correct F#:

let f a b = 
    a "
" |> b

will be current formatted to:

let f a b = a "
" |> b

this would not compiling because of wrong indent. The correct version would be:

let f a b = a "
"           |> b

This issue breaks many lines of code when i trying to compile formatted version of this very project. In the moment i am not sure what to do about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants