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 example above shows that fantomas just removes the comments. However, if you add a comment inside the record then it rearranges the comments outside the record to appear between "private" and the record which is invalid f#
Code
typeTestType=// Here is some comment about the type// Some more commentsprivate{
Foo :int}
Result
typeTestType=private{ Foo:int }
Result with another comment added
typeTestType=private// Here is some comment about the type// Some more comments{// Foo
Foo:int }
Issue created from fantomas-online
The example above shows that fantomas just removes the comments. However, if you add a comment inside the record then it rearranges the comments outside the record to appear between "private" and the record which is invalid f#
Code
Result
Result with another comment added
Options
Fantomas Master at 06/02/2020 18:39:46 - eee0f32
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
KeepIfThenInSameLine
false
StrictMode
false
The text was updated successfully, but these errors were encountered: