-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
in
is removed from binding when PreserveEndOfLine is true
#340
Comments
Related: let f () =
let x = 1 in // the "in" keyword is available in F#
let y = 2 in
x + y gets formatted to let f() =
let x = 1
// the "in" keyword is available in F#
let y = 2
x + y Code is still valid, but the |
@nojaf I think removing However this snippet shows other bug(s) related to comment
|
Ok, good to know that the comment caused the bad indent. When let f() =
let x = 1 // the "in" keyword is available in F#
let y = 2
x + y Indentation is not correct though. |
This doesn't seem to be fixed. At least for me let x = List.singleton <|
let item = "text" in
item if it is processed with let x = List.singleton <|
let item = "text"
item however, without preserve the output is invalid F# (and subsequent let x =
List.singleton <| let item = "text"
item The compiler error is |
is being formatted to
The text was updated successfully, but these errors were encountered: