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
If you define a let binding in a class definition that has an attribute applied to it, an extra newline is introduced:
Code
moduleTestsopenXunittypeAppointmentTests()=[<Fact>]member__.``Test one``()=1|> should equal 1[<Fact>]let``Test two``()=2|> should equal 2let``Test three``()=3|> should equal 3[<Fact>]member__.``Test four``()=4|> should equal 4[<Fact>]let``Test five``()=5|> should equal 5
Result
moduleTestsopenXunittypeAppointmentTests()=[<Fact>]member__.``Test one``()=1|> should equal 1[<Fact>]let``Test two``()=2|> should equal 2let``Test three``()=3|> should equal 3[<Fact>]member__.``Test four``()=4|> should equal 4[<Fact>]let``Test five``()=5|> should equal 5
Options
Fantomas 3.2.0
Name
Value
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
The text was updated successfully, but these errors were encountered:
ErikSchierboom
changed the title
[Bug report from fantomas-ui] Newline added before let binding with attribute in class
Newline added before let binding with attribute in class
Apr 24, 2020
Issue created from fantomas-ui
If you define a
let
binding in a class definition that has an attribute applied to it, an extra newline is introduced:Code
Result
Options
Fantomas 3.2.0
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
The text was updated successfully, but these errors were encountered: