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 code does not compile anymore if there is only one space before the config.
Code
[<Test>]let``attribute on module after namespace`` ()=
formatSourceString false"""namespace SomeNamespace[<AutoOpen>]module Types = let a = 5""" config
|> prepend newline
|> should equal """namespace SomeNamespace[<AutoOpen>]module Types = let a = 5"""
Result
[<Test>]let``attribute on module after namespace`` ()=
formatSourceString false"""namespace SomeNamespace[<AutoOpen>]module Types = let a = 5""" config
|> prepend newline
|> should equal """namespace SomeNamespace[<AutoOpen>]module Types = let a = 5"""
Options
Fantomas Next - 3.3.0-4/8/2020
Name
Value
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeClassConstructor
false
SpaceBeforeColon
false
SpaceBeforeLowercaseInvocation
true
SpaceBeforeMember
false
SpaceBeforeParameter
true
SpaceBeforeSemicolon
false
SpaceBeforeUppercaseInvocation
false
StrictMode
false
The text was updated successfully, but these errors were encountered:
Issue created from fantomas-ui
The code does not compile anymore if there is only one space before the
config
.Code
Result
Options
Fantomas Next - 3.3.0-4/8/2020
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
MaxIfThenElseShortWidth
40
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeClassConstructor
false
SpaceBeforeColon
false
SpaceBeforeLowercaseInvocation
true
SpaceBeforeMember
false
SpaceBeforeParameter
true
SpaceBeforeSemicolon
false
SpaceBeforeUppercaseInvocation
false
StrictMode
false
The text was updated successfully, but these errors were encountered: