File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
src/FSharpLint.Core/Rules Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ let private checkNumberOfLinesInFile numberOfLines line maxLines =
1515 Array.singleton
1616 {
1717 Range =
18- Range.mkRange " " ( Position.mkPos ( maxLines + 1 ) 0 ) ( Position.mkPos numberOfLines ( String.length line))
18+ Range.mkRange String.Empty ( Position.mkPos ( maxLines + 1 ) 0 ) ( Position.mkPos numberOfLines ( String.length line))
1919 Message = String.Format( errorFormatString, ( maxLines + 1 ))
2020 SuggestedFix = None
2121 TypeChecks = List.Empty
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ let checkTupleIndentation _ (tupleExprs:SynExpr list) _ _ =
1616 if expr.Range.StartColumn <> nextExpr.Range.StartColumn then
1717 Some
1818 {
19- Range = Range.mkRange " " expr.Range.Start nextExpr.Range.End
19+ Range = Range.mkRange String.Empty expr.Range.Start nextExpr.Range.End
2020 Message = Resources.GetString( " RulesFormattingTupleIndentationError" )
2121 SuggestedFix = None
2222 TypeChecks = List.Empty
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ let checkTrailingNewLineInFile (args:LineRuleParams) =
1111 let pos = Position.mkPos args.LineNumber 0
1212 Array.singleton
1313 {
14- Range = Range.mkRange " " pos pos
14+ Range = Range.mkRange String.Empty pos pos
1515 Message = Resources.GetString( " RulesTypographyTrailingLineError" )
1616 SuggestedFix = None
1717 TypeChecks = List.Empty
Original file line number Diff line number Diff line change @@ -770,7 +770,7 @@ let private confirmFuzzyMatch (args:AstNodeRuleParams) (hint:HintParserTypes.Hin
770770 |> suggestions.Add
771771 | AstNode.Expression( expr), HintExpr( hintExpr) ->
772772 let arguments =
773- { MatchExpression.LambdaArguments = Map.ofList []
773+ { MatchExpression.LambdaArguments = Map.empty
774774 MatchExpression.MatchedVariables = Dictionary<_, _>()
775775 MatchExpression.Expression = args.AstNode
776776 MatchExpression.Hint = hintExpr
You can’t perform that action at this time.
0 commit comments