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
Fantomas is adding an extra set of parenthesis. DataAccess.getById returns a result type. Result.okValue extracts an option type. This is all wrapped in parenthesis, then we are extracting the value with .Value. When we run the formatter, it adds an extra set of parenthesis each time.
Code
letvariable=(DataAccess.getById moduleName.readData
{ Id = createObject.Id }|> Result.okValue).Value
Result
letvariable=((DataAccess.getById moduleName.readData { Id = createObject.Id }|> Result.okValue)).Value
Issue created from fantomas-online
Fantomas is adding an extra set of parenthesis. DataAccess.getById returns a result type. Result.okValue extracts an option type. This is all wrapped in parenthesis, then we are extracting the value with .Value. When we run the formatter, it adds an extra set of parenthesis each time.
Code
Result
Options
Fantomas Master at 06/13/2020 12:50:29 - f502c77
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
MaxValueBindingWidth
40
MaxFunctionBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
KeepIfThenInSameLine
false
StrictMode
false
The text was updated successfully, but these errors were encountered: