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 line comment after the { isn't printed in signature files.
Code
moduleRecordSignature/// Represents simple XML elements.typeElement={/// The attribute collection.
Attributes:IDictionary<Name, string>;/// The children collection.
Children:seq<INode>;/// The qualified name.
Name:Name }
Result
moduleRecordSignature/// Represents simple XML elements.typeElement={ Attributes:IDictionary<Name, string>/// The children collection.
Children:seq<INode>/// The qualified name.
Name:Name }
Options
Fantomas 3.0.0
Name
Value
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
StrictMode
false
Test
[<Test>]let``record type signature with line comment `` ()=
formatSourceString true"""module RecordSignature/// Represents simple XML elements.type Element = { /// The attribute collection. Attributes: IDictionary<Name, string>; /// The children collection. Children: seq<INode>; /// The qualified name. Name: Name }""" config
|> prepend newline
|> should equal """module RecordSignature/// Represents simple XML elements.type Element = { /// The attribute collection. Attributes: IDictionary<Name, string> /// The children collection. Children: seq<INode> /// The qualified name. Name: Name }"""
The text was updated successfully, but these errors were encountered:
Issue created from fantomas-ui
The line comment after the
{
isn't printed in signature files.Code
Result
Options
Fantomas 3.0.0
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
StrictMode
false
Test
The text was updated successfully, but these errors were encountered: