You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleFoo =letblah=
printfn ""(fun bar ->
printfn ""
bar +"11111111111111111111111111111111")
Result
moduleFoo =letblah=
printfn ""(fun bar ->
printfn ""
bar +"11111111111111111111111111111111")
Problem description
I was expecting MultiLineLambdaClosingNewline to result in retaining the newline in this lambda. It seems to be a problem when the lambda is the last expression in a function body.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Ah, as it is not part of an application this is not captured with the current MultiLineLambdaClosingNewline implementation.
Would you mind adding this to the style guide as well?
Issue created from fantomas-online
Code
Result
Problem description
I was expecting MultiLineLambdaClosingNewline to result in retaining the newline in this lambda. It seems to be a problem when the lambda is the last expression in a function body.
Extra information
Options
Fantomas Master at 07/18/2021 11:37:23 - 23cefe5
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: