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
In most of the places where if have something like:
if a then
b
else
c
fantomas changes to
if a
then b
else c
which is fine. But why did it then turned this:
||> Array.foldBack (fun line (currentLine, allLines) ->
if line.StartsWith ("i," + DateTime.Today.ToString("MM/dd/yyyy"))
then "", line + currentLine :: allLines
else line + currentLine, allLines)
into this?
||> Array.foldBack (fun line (currentLine, allLines) ->
if line.StartsWith("i," + DateTime.Today.ToString("MM/dd/yyyy")) then
"", line + currentLine :: allLines
else line + currentLine, allLines)
I'd prefer to keep the then aligned with the else. What was the reason?
The text was updated successfully, but these errors were encountered:
The formatting of SynExpr.IfThenElse was revisited in #557.
An attempt was made to align with the F# style guide.
Please create a new issue if necessary.
In most of the places where if have something like:
fantomas changes to
which is fine. But why did it then turned this:
into this?
I'd prefer to keep the then aligned with the else. What was the reason?
The text was updated successfully, but these errors were encountered: