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
The #if DEBUG directive not correct anymore after formatting.
Code
namespace global#if DEBUG
moduleDbg =openSystemopenSystem.Textletseq fn = Seq.iter fn
letiff condition fn =if condition()then fn()lettee fn a =
fn a
a
letteePrint x = tee (printfn "%A") x
letprint x = printfn "%A" x
#elsemoduleDbg =lettee(f:'a ->unit)(x:'a)= x
letteePrint x = x
letprint _ =()#endif
Result
#if DEBUG
namespace globalmoduleDbg =openSystemopenSystem.Textletseq fn = Seq.iter fn
letiff condition fn =if condition()then fn()lettee fn a =
fn a
a
letteePrint x = tee (printfn "%A") x
letprint x = printfn "%A" x
#elsenamespace globalmoduleDbg =lettee(f:'a ->unit)(x:'a)= x
letteePrint x = x
letprint _ =()#endif
Issue created from fantomas-ui
The
#if DEBUG
directive not correct anymore after formatting.Code
Result
Options
Fantomas Next - 3.2.0-2/10/2020
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
StrictMode
false
Encountered while trying #666
The text was updated successfully, but these errors were encountered: